[Xfce4-commits] [thunar-plugins/thunar-media-tags-plugin] 06/10: Stop poking at widget internals, use accessors

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:59:24 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 0ef48068d3b8bb9de7d4c1f7309d5dc5ab441355
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Nov 2 19:40:18 2017 -0300

    Stop poking at widget internals, use accessors
---
 thunar-plugin/audio-tags-page.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index a792659..2bd251b 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -568,7 +568,7 @@ audio_tags_page_dialog_new (GtkWindow *window,
   gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
 
   /* Add page to the dialog */
-  gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), GTK_WIDGET (page));
+  gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), GTK_WIDGET (page));
   gtk_widget_show (GTK_WIDGET (page));
 
   /* Create save button */
@@ -1009,7 +1009,7 @@ audio_tags_page_info_activate (GtkAction *action,
   table = gtk_table_new (7, 2, FALSE);
   gtk_table_set_row_spacings (GTK_TABLE (table), 6);
   gtk_table_set_col_spacings (GTK_TABLE (table), 12);
-  gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), table);
+  gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), table);
   gtk_container_set_border_width (GTK_CONTAINER (table), 12);
   gtk_widget_show (table);
 

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


More information about the Xfce4-commits mailing list