summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-22 11:39:41 +0300
committermonsta <[email protected]>2016-01-22 11:53:21 +0300
commit386f747d82bdd2607896a1c80dff5dfaaec1aa23 (patch)
tree47b7679a5bdcd98a2c7c1ebbc97a3cf47738a581 /mate-dictionary/libgdict
parente5a2a7363348f8db0a581a5b9c3c8872e82c4312 (diff)
downloadmate-utils-386f747d82bdd2607896a1c80dff5dfaaec1aa23.tar.bz2
mate-utils-386f747d82bdd2607896a1c80dff5dfaaec1aa23.tar.xz
[GTK+3] dictionary: fix some deprecations
Diffstat (limited to 'mate-dictionary/libgdict')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c
index 48bda738..8abe0c99 100644
--- a/mate-dictionary/libgdict/gdict-defbox.c
+++ b/mate-dictionary/libgdict/gdict-defbox.c
@@ -1333,7 +1333,11 @@ create_find_pane (GdictDefbox *defbox)
gtk_box_pack_start (GTK_BOX (hbox2), priv->find_entry, TRUE, TRUE, 0);
gtk_label_set_mnemonic_widget (GTK_LABEL (label), priv->find_entry);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ sep = gtk_separator_new (GTK_ORIENTATION_VERTICAL);
+#else
sep = gtk_vseparator_new ();
+#endif
gtk_box_pack_start (GTK_BOX (hbox1), sep, FALSE, FALSE, 0);
gtk_widget_show (sep);