SF.net SVN: geany:[4434] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Nov 19 13:29:30 UTC 2009


Revision: 4434
          http://geany.svn.sourceforge.net/geany/?rev=4434&view=rev
Author:   ntrel
Date:     2009-11-19 13:29:30 +0000 (Thu, 19 Nov 2009)

Log Message:
-----------
Try to fix Gtk warning when using Tools->Reload Configuration.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/geanymenubuttonaction.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-11-18 17:07:12 UTC (rev 4433)
+++ trunk/ChangeLog	2009-11-19 13:29:30 UTC (rev 4434)
@@ -1,3 +1,9 @@
+2009-11-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/geanymenubuttonaction.c:
+   Try to fix Gtk warning when using Tools->Reload Configuration.
+
+
 2009-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/highlighting.c, doc/geany.txt, doc/geany.html,

Modified: trunk/src/geanymenubuttonaction.c
===================================================================
--- trunk/src/geanymenubuttonaction.c	2009-11-18 17:07:12 UTC (rev 4433)
+++ trunk/src/geanymenubuttonaction.c	2009-11-19 13:29:30 UTC (rev 4434)
@@ -165,7 +165,7 @@
 
 	priv = GEANY_MENU_BUTTON_ACTION_GET_PRIVATE(action);
 
-	if (priv->menu != NULL)
+	if (priv->menu != NULL && GTK_IS_WIDGET(priv->menu))
 		g_signal_handlers_disconnect_by_func(priv->menu, menu_items_changed_cb, action);
 	if (menu != NULL)
 	{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list