[gedit] Do not use deprecated func gtk_action_connect_proxy.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Do not use deprecated func gtk_action_connect_proxy.
- Date: Sat, 23 Jan 2010 16:01:19 +0000 (UTC)
commit eb0bf10648bcfec7ebcca4453adc431991700d0c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Jan 23 16:59:35 2010 +0100
Do not use deprecated func gtk_action_connect_proxy.
It is used gtk_activatable_set_related_action instead. See bug #562052.
gedit/gedit-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 90d48c1..7e290c6 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -1457,7 +1457,8 @@ setup_toolbar_open_button (GeditWindow *window,
"is_important", TRUE,
"short_label", _("Open"),
NULL);
- gtk_action_connect_proxy (action, GTK_WIDGET (open_button));
+ gtk_activatable_set_related_action (GTK_ACTIVATABLE (open_button),
+ action);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar),
open_button,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]