diff options
Diffstat (limited to 'shell/ev-page-action.c')
-rw-r--r-- | shell/ev-page-action.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 057b501..4b559c5 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -371,8 +371,9 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) G_CALLBACK (update_page_cache), proxy, 0); /* We only go through this whole rigmarole if we can set - * GtkEntryCompletion::popup-set-width */ - if (gtk_check_version (2, 7, 0) != NULL) { + * GtkEntryCompletion::popup-set-width, which appeared in + * GTK+-2.7.0 */ + if (gtk_check_version (2, 7, 0) == NULL) { g_signal_connect_object (action, "notify::model", G_CALLBACK (update_model), proxy, 0); |