[gedit/gnome-3-0] filebrowser: fix crash on open_terminal action.
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-0] filebrowser: fix crash on open_terminal action.
- Date: Fri, 17 Jun 2011 18:53:11 +0000 (UTC)
commit 36af9d72f210ebe519078a6b35ce6cc62ab9200d
Author: Josà Aliste <jaliste src gnome org>
Date: Fri Jun 17 14:23:11 2011 -0400
filebrowser: fix crash on open_terminal action.
The callback for the action expects a FileBrowserPlugin pointer.
plugins/filebrowser/gedit-file-browser-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-plugin.c b/plugins/filebrowser/gedit-file-browser-plugin.c
index 21ca346..f319053 100644
--- a/plugins/filebrowser/gedit-file-browser-plugin.c
+++ b/plugins/filebrowser/gedit-file-browser-plugin.c
@@ -611,7 +611,7 @@ add_popup_ui (GeditFileBrowserPlugin *plugin)
gtk_action_group_add_actions (action_group,
extra_single_selection_actions,
G_N_ELEMENTS (extra_single_selection_actions),
- priv->window);
+ plugin);
gtk_ui_manager_insert_action_group (manager, action_group, 0);
priv->single_selection_action_group = action_group;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]