[Xfce4-commits] <xfce4-dict:master> Use the correct XfcePanelPlugin instance when opening the preferences dialog to prevent crashes

Enrico Tröger noreply at xfce.org
Sun Sep 5 19:14:01 CEST 2010


Updating branch refs/heads/master
         to 1b9641f8a6a81e0a0c054c0ec46d760691d7cf2e (commit)
       from d78781168966ffc0a1d250eb4e58fa6cf78327ca (commit)

commit 1b9641f8a6a81e0a0c054c0ec46d760691d7cf2e
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date:   Sun Sep 5 19:12:24 2010 +0200

    Use the correct XfcePanelPlugin instance when opening the preferences dialog to prevent crashes

 panel-plugin/xfce4-dict-plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index 65eaa1b..6047db8 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -302,9 +302,10 @@ static void dict_plugin_properties_dialog_response(GtkWidget *dlg, gint response
 }
 
 
-static void dict_plugin_properties_dialog(XfcePanelPlugin *plugin, DictPanelData *dpd)
+static void dict_plugin_properties_dialog(GtkWidget *widget, DictPanelData *dpd)
 {
 	GtkWidget *dlg;
+	XfcePanelPlugin *plugin = dpd->plugin;
 
 	xfce_panel_plugin_block_menu(plugin);
 



More information about the Xfce4-commits mailing list