r2121 - trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src

laforge at sita.openmoko.org laforge at sita.openmoko.org
Sat Jun 2 02:15:58 CEST 2007


Author: laforge
Date: 2007-06-02 02:15:57 +0200 (Sat, 02 Jun 2007)
New Revision: 2121

Modified:
   trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/stylusmenu.c
Log:
fix segfault (used wrong object for signal connection)


Modified: trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/stylusmenu.c
===================================================================
--- trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/stylusmenu.c	2007-06-02 00:11:38 UTC (rev 2120)
+++ trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/stylusmenu.c	2007-06-02 00:15:57 UTC (rev 2121)
@@ -93,7 +93,7 @@
     break;
     case ITEM_TYPE_DOTDESKTOP_ITEM:
     case ITEM_TYPE_APP:
-      g_signal_connect (item_new, "activate",
+      g_signal_connect (menu_item, "activate",
       			G_CALLBACK(moko_stylus_menu_activate_item),
 			item_new);
       break;





More information about the commitlog mailing list