summaryrefslogtreecommitdiff
path: root/src/caja-x-content-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-x-content-bar.c')
-rw-r--r--src/caja-x-content-bar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caja-x-content-bar.c b/src/caja-x-content-bar.c
index 1ef5fcba..1fc8aabe 100644
--- a/src/caja-x-content-bar.c
+++ b/src/caja-x-content-bar.c
@@ -310,7 +310,9 @@ caja_x_content_bar_init (CajaXContentBar *bar)
gtk_label_set_ellipsize (GTK_LABEL (bar->priv->label), PANGO_ELLIPSIZE_END);
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_orientable_set_orientation (GTK_ORIENTABLE (bar), GTK_ORIENTATION_HORIZONTAL);
- gtk_widget_set_halign (bar->priv->label, GTK_ALIGN_START);
+#endif
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (bar->priv->label), 0.0);
#else
gtk_misc_set_alignment (GTK_MISC (bar->priv->label), 0.0, 0.5);
#endif