summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 42c51184..150fb0a4 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4427,7 +4427,11 @@ ev_view_key_press_event (GtkWidget *widget,
return FALSE;
}
+#if GTK_CHECK_VERSION (3, 0, 0)
return gtk_bindings_activate_event (G_OBJECT (widget), event);
+#else
+ return gtk_bindings_activate_event (GTK_OBJECT (widget), event);
+#endif
}
static gint