Commit fbb87f2f authored by Andre Miranda's avatar Andre Miranda

Replace gtk_widget_reparent with xfce_widget_reparent

Requires libxfce4ui >=4.13.2
parent e6178e54
......@@ -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.12.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.13.2])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0])
dnl ******************************
......
......@@ -24,6 +24,8 @@
#include <gtk/gtk.h>
#include <libxfce4ui/libxfce4ui.h>
#include <thunar/thunar-private.h>
#include <thunar/thunar-progress-dialog.h>
#include <thunar/thunar-progress-view.h>
......@@ -253,7 +255,7 @@ thunar_progress_dialog_job_finished (ThunarProgressDialog *dialog,
if (n_views == SCROLLVIEW_THRESHOLD-1)
{
/* reparent the content box */
gtk_widget_reparent (dialog->content_box, dialog->vbox);
xfce_widget_reparent (dialog->content_box, dialog->vbox);
/* destroy the scroll win */
gtk_widget_destroy (dialog->scrollwin);
......@@ -366,7 +368,7 @@ thunar_progress_dialog_add_job (ThunarProgressDialog *dialog,
gtk_widget_show (viewport);
/* move the content box into the viewport */
gtk_widget_reparent (dialog->content_box, viewport);
xfce_widget_reparent (dialog->content_box, viewport);
}
g_signal_connect_swapped (view, "need-attention",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment