From: John Darrington Date: Fri, 9 Jan 2009 21:43:34 +0000 (+0900) Subject: Replaced call to g_strcmp0 with strcmp, since the former X-Git-Tag: v0.7.1~11 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f20a0669fbab0a8b2ab0b49bb476c40aadd417;p=pspp-builds.git Replaced call to g_strcmp0 with strcmp, since the former is available only in glib 2.16+. Thanks to unknown-1 for reporting this. --- diff --git a/src/ui/gui/psppire-dialog.c b/src/ui/gui/psppire-dialog.c index c0c2641f..84f9e5de 100644 --- a/src/ui/gui/psppire-dialog.c +++ b/src/ui/gui/psppire-dialog.c @@ -23,6 +23,7 @@ #include "psppire-dialog.h" #include "psppire-buttonbox.h" #include "psppire-selector.h" +#include 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;