[Xfce4-commits] [thunar-plugins/thunar-media-tags-plugin] 05/10: Replace GTK_WIDGET_TOPLEVEL by gtk_widget_is_toplevel

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:59:23 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 b28ca50bb20b5a420e77d105864032da99c0dd40
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Nov 2 19:38:12 2017 -0300

    Replace GTK_WIDGET_TOPLEVEL by gtk_widget_is_toplevel
---
 thunar-plugin/audio-tags-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index 6350cda..a792659 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -458,7 +458,7 @@ audio_tags_page_init (AudioTagsPage *page)
 
   /* Determine parent window and assign it to the action */
   toplevel = gtk_widget_get_toplevel (GTK_WIDGET (page));
-  if (GTK_WIDGET_TOPLEVEL (toplevel))
+  if (gtk_widget_is_toplevel (toplevel))
     g_object_set_data_full (G_OBJECT (action), "window", g_object_ref (G_OBJECT (toplevel)), (GDestroyNotify)g_object_unref);
 
   /* Connect to the info action */

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


More information about the Xfce4-commits mailing list