summaryrefslogtreecommitdiff
path: root/shell/eggfindbar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-04 12:12:48 +0100
committerraveit65 <[email protected]>2017-03-06 16:10:06 +0100
commit32ae49f81c05e676a86544e66b09f65f83b9db37 (patch)
treee7276b2611c75b1e8363d43894749f4b1ed9bd49 /shell/eggfindbar.c
parent285289c2e4d7d625c96d3e683dfdb01b098df373 (diff)
downloadatril-32ae49f81c05e676a86544e66b09f65f83b9db37.tar.bz2
atril-32ae49f81c05e676a86544e66b09f65f83b9db37.tar.xz
avoid deprecated gtk_misc_set_alignment
Diffstat (limited to 'shell/eggfindbar.c')
-rw-r--r--shell/eggfindbar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index ea34cd2a..c6b7af84 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -346,8 +346,11 @@ egg_find_bar_init (EggFindBar *find_bar)
priv->status_label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (priv->status_label),
PANGO_ELLIPSIZE_END);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (priv->status_label), 0.0);
+#else
gtk_misc_set_alignment (GTK_MISC (priv->status_label), 0.0, 0.5);
-
+#endif
g_signal_connect (priv->find_entry, "changed",
G_CALLBACK (entry_changed_callback),