Mercurial > geeqie
changeset 1606:088ed72ef384
fixed compilation with older gtk
author | nadvornik |
---|---|
date | Tue, 12 May 2009 20:38:26 +0000 |
parents | ff1ae7618a17 |
children | a088801dc7a5 |
files | src/preferences.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/preferences.c Tue May 12 20:17:03 2009 +0000 +++ b/src/preferences.c Tue May 12 20:38:26 2009 +0000 @@ -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) {