Add conditional compilation for gtk+ 2.8.
authorHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sat, 7 Oct 2006 15:38:19 +0000 (15:38 +0000)
committerHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sat, 7 Oct 2006 15:38:19 +0000 (15:38 +0000)
src/gtk-run.c

index 7115f29..2d9b680 100644 (file)
@@ -36,8 +36,8 @@ static gboolean setup_auto_complete( gpointer entry )
     gtk_entry_completion_set_inline_completion( comp, TRUE );
 #if GTK_CHECK_VERSION( 2, 8, 0 )
     gtk_entry_completion_set_popup_set_width( comp, TRUE );
-#endif
     gtk_entry_completion_set_popup_single_match( comp, FALSE );
+#endif
      store = gtk_list_store_new( 1, G_TYPE_STRING );
 
     for( dirname = dirnames; *dirname; ++dirname )