summaryrefslogtreecommitdiff
path: root/src/eom-thumb-view.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:15:38 +0300
committerraveit65 <[email protected]>2018-01-30 11:56:38 +0100
commit0cce876dac2617c9cb7145ad6815c80b2040403e (patch)
tree666c114e778502870bc5831dc19ea3aa2135e8e2 /src/eom-thumb-view.c
parentf09cf54ef735e19c153ca44c5d13b06c5dddd2f1 (diff)
downloadeom-0cce876dac2617c9cb7145ad6815c80b2040403e.tar.bz2
eom-0cce876dac2617c9cb7145ad6815c80b2040403e.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'src/eom-thumb-view.c')
-rw-r--r--src/eom-thumb-view.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c
index f1d5e36..03270cc 100644
--- a/src/eom-thumb-view.c
+++ b/src/eom-thumb-view.c
@@ -113,9 +113,6 @@ eom_thumb_view_constructed (GObject *object)
FALSE);
g_object_set (thumbview->priv->pixbuf_cell,
-#if !GTK_CHECK_VERSION (3, 16, 0)
- "follow-state", FALSE,
-#endif
"height", 100,
"width", 115,
"yalign", 0.5,
@@ -1066,12 +1063,6 @@ eom_thumb_view_popup_menu (EomThumbView *thumbview, GdkEventButton *event)
{
g_return_if_fail (event != NULL);
-#if GTK_CHECK_VERSION (3, 22, 0)
gtk_menu_popup_at_pointer (GTK_MENU (thumbview->priv->menu),
(const GdkEvent*) event);
-#else
- gtk_menu_popup (GTK_MENU (thumbview->priv->menu),
- NULL, NULL, NULL, NULL,
- event->button, event->time);
-#endif
}