SF.net SVN: geany-plugins:[830] branches/geany-plugins-0.17.1/addons/src/ ao_systray.c

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jul 17 17:01:46 UTC 2009


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

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

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

Modified: branches/geany-plugins-0.17.1/addons/src/ao_systray.c
===================================================================
--- branches/geany-plugins-0.17.1/addons/src/ao_systray.c	2009-07-17 17:00:28 UTC (rev 829)
+++ branches/geany-plugins-0.17.1/addons/src/ao_systray.c	2009-07-17 17:01:45 UTC (rev 830)
@@ -138,7 +138,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