SF.net SVN: geany-plugins:[829] trunk/geany-plugins/addons/src/ao_systray.c

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jul 17 17:00:28 UTC 2009


Revision: 829
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=829&view=rev
Author:   eht16
Date:     2009-07-17 17:00:28 +0000 (Fri, 17 Jul 2009)

Log Message:
-----------
Attempt to fix crashes when quitting Geany from the system tray icon.

Modified Paths:
--------------
    trunk/geany-plugins/addons/src/ao_systray.c

Modified: trunk/geany-plugins/addons/src/ao_systray.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_systray.c	2009-07-17 16:01:38 UTC (rev 828)
+++ trunk/geany-plugins/addons/src/ao_systray.c	2009-07-17 17:00:28 UTC (rev 829)
@@ -132,7 +132,8 @@
 
 static gboolean icon_quit_cb(gpointer data)
 {
-	g_signal_emit_by_name(geany->main_widgets->window, "delete-event", NULL);
+	g_signal_emit_by_name(ui_lookup_widget(geany->main_widgets->window, "menu_quit1"),
+		"activate", NULL);
 
 	return FALSE;
 }


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



More information about the Plugins-Commits mailing list