Replaced call to g_strcmp0 with strcmp, since the former
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 9 Jan 2009 21:43:34 +0000 (06:43 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 9 Jan 2009 21:43:34 +0000 (06:43 +0900)
is available only in glib 2.16+.

Thanks to unknown-1 for reporting this.

src/ui/gui/psppire-dialog.c

index c0c2641f3222f3da4b130676d737b168a02e893e..84f9e5de489459a86c702c912a32d7c882a3fc17 100644 (file)
@@ -23,6 +23,7 @@
 #include "psppire-dialog.h"
 #include "psppire-buttonbox.h"
 #include "psppire-selector.h"
+#include <string.h>
 
 static void psppire_dialog_class_init          (PsppireDialogClass *);
 static void psppire_dialog_init                (PsppireDialog      *);
@@ -501,7 +502,7 @@ get_internal_child    (GtkBuildable *buildable,
 {
   PsppireDialog *dialog = PSPPIRE_DIALOG (buildable);
 
-  if ( 0 == g_strcmp0 (childname, "hbox"))
+  if ( 0 == strcmp (childname, "hbox"))
     return G_OBJECT (dialog->box);
 
   return NULL;