[Xfce4-commits] [thunar-plugins/thunar-media-tags-plugin] 08/10: Replace gtk_action_connect_proxy

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:59:26 CET 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository thunar-plugins/thunar-media-tags-plugin.

commit c64c0fd00780eb00c56f05dd4a23effc2af96415
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Nov 2 19:47:42 2017 -0300

    Replace gtk_action_connect_proxy
---
 thunar-plugin/audio-tags-page.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index f299b99..c330703 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -575,7 +575,7 @@ audio_tags_page_dialog_new (GtkWindow *window,
 
   /* Connect save button to the "save" action */
   action = gtk_action_group_get_action (page->action_group, "save");
-  gtk_action_connect_proxy (action, button);
+  gtk_activatable_set_related_action (GTK_ACTIVATABLE (button), action);
 
   /* Add save button to the dialog */
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_OK);
@@ -1200,7 +1200,7 @@ audio_tags_page_set_show_save_button (AudioTagsPage   *page,
 
       /* Connect to info action */
       action = gtk_action_group_get_action (page->action_group, "info");
-      gtk_action_connect_proxy (action, page->info_button);
+      gtk_activatable_set_related_action (GTK_ACTIVATABLE (page->info_button), action);
 
       /* Save button */
       page->save_button = gtk_button_new_from_stock (GTK_STOCK_SAVE);
@@ -1209,7 +1209,7 @@ audio_tags_page_set_show_save_button (AudioTagsPage   *page,
 
       /* Connect to save action */
       action = gtk_action_group_get_action (page->action_group, "save");
-      gtk_action_connect_proxy (action, page->save_button);
+      gtk_activatable_set_related_action (GTK_ACTIVATABLE (page->save_button), action);
     }
   else
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list