Revision: 1703
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1703&view=rev
Author:   nadvornik
Date:     2009-05-12 20:38:26 +0000 (Tue, 12 May 2009)

Log Message:
-----------
fixed compilation with older gtk

Modified Paths:
--------------
    trunk/src/preferences.c

Modified: trunk/src/preferences.c
===================================================================
--- trunk/src/preferences.c     2009-05-12 20:17:03 UTC (rev 1702)
+++ trunk/src/preferences.c     2009-05-12 20:38:26 UTC (rev 1703)
@@ -895,6 +895,7 @@
        help_window_show("overlay");
 }
 
+#if GTK_CHECK_VERSION(2, 10, 0)
 static void accel_store_populate(void)
 {
        LayoutWindow *lw;
@@ -1156,6 +1157,7 @@
 }
 
 #endif
+#endif
 
 static GtkWidget *scrolled_notebook_page(GtkWidget *notebook, const gchar 
*title)
 {
@@ -1861,6 +1863,7 @@
 /* accelerators tab */
 static void config_tab_accelerators(GtkWidget *notebook)
 {
+#if GTK_CHECK_VERSION(2, 10, 0)
        GtkWidget *hbox;
        GtkWidget *vbox;
        GtkWidget *group;
@@ -1974,9 +1977,9 @@
        gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0);
        gtk_widget_show(button);
 #endif
+#endif
 }
 
-
 /* Main preferences window */
 static void config_window_create(void)
 {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to