diff options
author | Andre Miranda <andreldm@xfce.org> | 2017-12-23 21:45:09 -0300 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2017-12-23 21:45:09 -0300 |
commit | 63b918db8c0dcf85aee3f9761293942fa083d7a6 (patch) | |
tree | 98a824b6b751a7ea4951b3d2688d4662cc4406fc /thunar-volman-settings | |
parent | 886575c9c44ffb426e4a3b8f8460b1f804574069 (diff) | |
download | thunar-volman-63b918db8c0dcf85aee3f9761293942fa083d7a6.tar.gz |
Allow compilation against libxfce4ui 4.12 (Bug #14100)
Diffstat (limited to 'thunar-volman-settings')
-rw-r--r-- | thunar-volman-settings/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |