[Xfce4-commits] [xfce/thunar] 01/01: Downgrade libxfce4-ui required version
noreply at xfce.org
noreply at xfce.org
Wed Jun 13 13:08:09 CEST 2018
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 3dcd9fa5afca8aa45610776dc67ba388aed03aef
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Jun 13 08:07:15 2018 -0300
Downgrade libxfce4-ui required version
---
configure.ac.in | 2 +-
thunar/thunar-progress-dialog.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac.in b/configure.ac.in
index 9577e90..30f7609 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -153,7 +153,7 @@ XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.30.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.22.0])
XDT_CHECK_PACKAGE([GDK_PIXBUF], [gdk-pixbuf-2.0], [2.14.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
-XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.13.2])
+XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
XDT_CHECK_PACKAGE([LIBXFCE4KBD_PRIVATE], [libxfce4kbd-private-3], [4.12.0])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0])
diff --git a/thunar/thunar-progress-dialog.c b/thunar/thunar-progress-dialog.c
index 2b202d6..673bc1a 100644
--- a/thunar/thunar-progress-dialog.c
+++ b/thunar/thunar-progress-dialog.c
@@ -260,7 +260,11 @@ thunar_progress_dialog_job_finished (ThunarProgressDialog *dialog,
if (n_views == SCROLLVIEW_THRESHOLD-1)
{
/* reparent the content box */
+#if LIBXFCE4UI_CHECK_VERSION (4, 13, 2)
xfce_widget_reparent (dialog->content_box, dialog->vbox);
+#else
+ gtk_widget_reparent (dialog->content_box, dialog->vbox);
+#endif
/* destroy the scroll win */
gtk_widget_destroy (dialog->scrollwin);
@@ -375,7 +379,11 @@ thunar_progress_dialog_add_job (ThunarProgressDialog *dialog,
gtk_widget_show (viewport);
/* move the content box into the viewport */
+#if LIBXFCE4UI_CHECK_VERSION (4, 13, 2)
xfce_widget_reparent (dialog->content_box, viewport);
+#else
+ gtk_widget_reparent (dialog->content_box, viewport);
+#endif
}
g_signal_connect_swapped (view, "need-attention",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list