[Xfce4-commits] [xfce/thunar] 01/01: Fix compiler error -Wcast-function-type (GCC 8)

noreply at xfce.org noreply at xfce.org
Sun Apr 14 18:03:07 CEST 2019


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 xfce/thunar.

commit a19a6911df4d617e65b349914c8c3507afce8293
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Apr 14 13:02:40 2019 -0300

    Fix compiler error -Wcast-function-type (GCC 8)
---
 thunar/thunar-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-application.c b/thunar/thunar-application.c
index d5624a2..59fb334 100644
--- a/thunar/thunar-application.c
+++ b/thunar/thunar-application.c
@@ -1257,7 +1257,7 @@ thunar_application_take_window (ThunarApplication *application,
     {
       group = gtk_window_group_new ();
       gtk_window_group_add_window (group, window);
-      g_object_weak_ref (G_OBJECT (window), (GWeakNotify) g_object_unref, group);
+      g_object_weak_ref (G_OBJECT (window), (GWeakNotify) (void (*)(void)) g_object_unref, group);
     }
 
   /* add the ourselves to the window */

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


More information about the Xfce4-commits mailing list