From 8894c7ca5d86f59bc1c429153b329dddd4325842 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 1 Dec 2020 12:52:11 +0100 Subject: libslab-utils: Remove libslab_strcmp and use g_strcmp0 instead --- libslab/libslab-utils.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libslab/libslab-utils.c') diff --git a/libslab/libslab-utils.c b/libslab/libslab-utils.c index 557217f0..5a8b862f 100644 --- a/libslab/libslab-utils.c +++ b/libslab/libslab-utils.c @@ -92,18 +92,3 @@ libslab_get_current_screen (void) return screen; } - -gint -libslab_strcmp (const gchar *a, const gchar *b) -{ - if (! a && ! b) - return 0; - - if (! a) - return strcmp ("", b); - - if (! b) - return strcmp (a, ""); - - return strcmp (a, b); -} -- cgit v1.2.1