Enlightenment CVS committal
Author : kwo
Project : e16
Module : e16keyedit
Dir : e16/e16keyedit
Modified Files:
menus.c
Log Message:
Fix gtk2 complaints.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e16keyedit/menus.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- menus.c 18 Mar 2006 19:36:31 -0000 1.5
+++ menus.c 18 Mar 2006 21:51:38 -0000 1.6
@@ -53,8 +53,9 @@
if (szName && strlen(szName))
{
menuitem = gtk_menu_item_new_with_label(szName);
- gtk_signal_connect(GTK_OBJECT(menuitem), "activate",
- GTK_SIGNAL_FUNC(func), (gpointer) data);
+ if (func)
+ gtk_signal_connect(GTK_OBJECT(menuitem), "activate",
+ GTK_SIGNAL_FUNC(func), (gpointer) data);
}
else
{
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs