[Xfce4-commits] [xfce/thunar-volman] 01/01: Allow compilation against libxfce4ui 4.12 (Bug #14100)

noreply at xfce.org noreply at xfce.org
Sun Dec 24 01:45:22 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 xfce/thunar-volman.

commit 63b918db8c0dcf85aee3f9761293942fa083d7a6
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Dec 23 21:45:09 2017 -0300

    Allow compilation against libxfce4ui 4.12 (Bug #14100)
---
 thunar-volman-settings/main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/thunar-volman-settings/main.c b/thunar-volman-settings/main.c
index d6ce5c5..4121166 100644
--- a/thunar-volman-settings/main.c
+++ b/thunar-volman-settings/main.c
@@ -105,7 +105,12 @@ main (int    argc,
       plug_child = list->data;
       g_list_free (list);
 
+#if LIBXFCE4UI_CHECK_VERSION (4, 13, 0)
       xfce_widget_reparent (plug_child, plug);
+#else
+      /* fallback to deprecated function */
+      gtk_widget_reparent (plug_child, plug);
+#endif
 
       gtk_main ();
       gtk_widget_destroy (plug);

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


More information about the Xfce4-commits mailing list