SF.net SVN: geany-plugins:[1779] trunk/geany-plugins/webhelper/src/ gwh-plugin.c

colombanw at users.sourceforge.net colombanw at xxxxx
Sun Dec 19 22:19:07 UTC 2010


Revision: 1779
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1779&view=rev
Author:   colombanw
Date:     2010-12-19 22:19:07 +0000 (Sun, 19 Dec 2010)

Log Message:
-----------
WebHelper: fix crash when unloading and reloading the plugin

Modified Paths:
--------------
    trunk/geany-plugins/webhelper/src/gwh-plugin.c

Modified: trunk/geany-plugins/webhelper/src/gwh-plugin.c
===================================================================
--- trunk/geany-plugins/webhelper/src/gwh-plugin.c	2010-12-19 14:11:23 UTC (rev 1778)
+++ trunk/geany-plugins/webhelper/src/gwh-plugin.c	2010-12-19 22:19:07 UTC (rev 1779)
@@ -297,8 +297,8 @@
   attach_browser ();
   gtk_widget_show_all (G_browser);
   
-  g_signal_connect (G_settings, "notify::browser-position",
-                    G_CALLBACK (on_settings_browser_position_notify), NULL);
+  plugin_signal_connect (geany_plugin, G_settings, "notify::browser-position", FALSE,
+                         G_CALLBACK (on_settings_browser_position_notify), NULL);
   
   plugin_signal_connect (geany_plugin, NULL, "document-save", TRUE,
                          G_CALLBACK (on_document_save), NULL);


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