Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-04-09 04:06:08 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-04-09 04:06:08 (GMT)
commit324e007ce9e3dfd5e1c28fdc90483ca81236b180 (patch)
tree3c847842f52a4671e94b5abbbc131a6c221f2964 /shell
parent464f9eb8489a4b5882d20b8603d5f2fb38e61ddb (diff)
Fix logic.
Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-action.c: Fix logic.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-page-action.c5
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);