summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logview/src/logview-findbar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/logview/src/logview-findbar.c b/logview/src/logview-findbar.c
index 1ccf3fa0..768b1e01 100644
--- a/logview/src/logview-findbar.c
+++ b/logview/src/logview-findbar.c
@@ -232,7 +232,12 @@ logview_findbar_init (LogviewFindbar *findbar)
gtk_tool_item_set_expand (priv->status_item, TRUE);
priv->message = gtk_label_new ("");
gtk_label_set_use_markup (GTK_LABEL (priv->message), TRUE);
+#if GTK_CHECK_VERSION(3,16,0)
+ gtk_label_set_xalign (GTK_LABEL (priv->message), 0.0);
+ gtk_label_set_yalign (GTK_LABEL (priv->message), 0.5);
+#else
gtk_misc_set_alignment (GTK_MISC (priv->message), 0.0, 0.5);
+#endif
gtk_container_add (GTK_CONTAINER (priv->status_item), priv->message);
gtk_widget_show (priv->message);
gtk_toolbar_insert (gtoolbar, priv->status_item, -1);