[gedit] Bug 618372 - Remove deprecated symbol gtk_action_connect_proxy
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Bug 618372 - Remove deprecated symbol gtk_action_connect_proxy
- Date: Tue, 11 May 2010 15:40:17 +0000 (UTC)
commit 6e702af64fb4774fce117763d556f66970828ede
Author: Garrett Regier <alias301 gmail com>
Date: Tue May 11 07:54:58 2010 -0700
Bug 618372 - Remove deprecated symbol gtk_action_connect_proxy
plugins/filebrowser/gedit-file-browser-widget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/gedit-file-browser-widget.c
index 9d5c7b9..81c36f9 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -1020,7 +1020,7 @@ create_toolbar (GeditFileBrowserWidget *obj,
"DirectoryPrevious");
g_object_set (action, "is_important", TRUE, "short_label",
_("Previous location"), NULL);
- gtk_action_connect_proxy (action, widget);
+ gtk_activatable_set_related_action (GTK_ACTIVATABLE (widget), action);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (widget), 0);
/* Next directory menu tool item */
@@ -1041,7 +1041,7 @@ create_toolbar (GeditFileBrowserWidget *obj,
"DirectoryNext");
g_object_set (action, "is_important", TRUE, "short_label",
_("Previous location"), NULL);
- gtk_action_connect_proxy (action, widget);
+ gtk_activatable_set_related_action (GTK_ACTIVATABLE (widget), action);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (widget), 1);
gtk_box_pack_start (GTK_BOX (obj), toolbar, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]