summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2017-08-25 21:22:27 -0300
committerAndre Miranda <andreldm@xfce.org>2017-08-25 21:22:27 -0300
commite859409cbe4a67394455519d5c371bf0538faf73 (patch)
treee91f01018a770fb80520cc1952dd7bb5ed03bc5f /thunarx
parent35d36222a4255db216325b5872baf6755bde6cfd (diff)
downloadthunar-e859409cbe4a67394455519d5c371bf0538faf73.tar.gz
Replace GtkV/HBox by GtkBox
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/thunarx-renamer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/thunarx/thunarx-renamer.c b/thunarx/thunarx-renamer.c
index 571bbd86..1d8c4426 100644
--- a/thunarx/thunarx-renamer.c
+++ b/thunarx/thunarx-renamer.c
@@ -88,7 +88,7 @@ static guint renamer_signals[LAST_SIGNAL];
-G_DEFINE_ABSTRACT_TYPE (ThunarxRenamer, thunarx_renamer, GTK_TYPE_VBOX)
+G_DEFINE_ABSTRACT_TYPE (ThunarxRenamer, thunarx_renamer, GTK_TYPE_BOX)
@@ -176,7 +176,8 @@ thunarx_renamer_init (ThunarxRenamer *renamer)
/* grab a pointer on the private data */
renamer->priv = THUNARX_RENAMER_GET_PRIVATE (renamer);
- /* initialize the GtkVBox to sane defaults */
+ /* initialize the GtkBox to sane defaults */
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (renamer), GTK_ORIENTATION_VERTICAL);
gtk_container_set_border_width (GTK_CONTAINER (renamer), 12);
gtk_box_set_homogeneous (GTK_BOX (renamer), FALSE);
gtk_box_set_spacing (GTK_BOX (renamer), 6);