r275 - trunk/src/target/OM-2007/openmoko-libs/libmokoui

thomas at gta01.hmw-consulting.de thomas at gta01.hmw-consulting.de
Thu Nov 30 21:48:24 CET 2006


Author: thomas
Date: 2006-11-30 20:48:23 +0000 (Thu, 30 Nov 2006)
New Revision: 275

Modified:
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c
Log:
Correct error: libmokoui.so: undefined reference to `g_strcmp'


Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c	2006-11-30 09:17:43 UTC (rev 274)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c	2006-11-30 20:48:23 UTC (rev 275)
@@ -213,7 +213,7 @@
         gchar* ltext;
         gtk_label_get( GTK_LABEL(label), &ltext );
         moko_debug( "moko_menu_box_set_active_filter: comparing '%s' with '%s'", ltext, text );
-        if ( g_strcmp( ltext, text ) == 0 )
+        if ( ltext && text && strcmp( ltext, text ) == 0 )
         {
             moko_debug( "moko_menu_box_set_active_filter: match found" );
             //FIXME this is a bit hackish or is it?





More information about the commitlog mailing list