diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-15 12:21:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-15 12:21:39 +0000 |
commit | 89ff2dd5130bdb229a9058bff171e7ab5436808d (patch) | |
tree | 6e9b17b3c390b2f99f18fc3275eb65af89310eb5 /src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c | |
parent | cb3e4a5058db11568209351334ead72ffc25556b (diff) | |
download | gnunet-gtk-89ff2dd5130bdb229a9058bff171e7ab5436808d.tar.gz gnunet-gtk-89ff2dd5130bdb229a9058bff171e7ab5436808d.zip |
trying to make the code compile with gtk2 or gtk3
Diffstat (limited to 'src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c index 6b2009a7..826d1b79 100644 --- a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c +++ b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c | |||
@@ -34,6 +34,7 @@ | |||
34 | void | 34 | void |
35 | GNUNET_GTK_anonymity_spin_button_value_changed_cb (GtkWidget * w, gpointer data) | 35 | GNUNET_GTK_anonymity_spin_button_value_changed_cb (GtkWidget * w, gpointer data) |
36 | { | 36 | { |
37 | #ifdef GdkRBGA | ||
37 | GtkSpinButton *spin; | 38 | GtkSpinButton *spin; |
38 | gint val; | 39 | gint val; |
39 | GdkRGBA bcolor; | 40 | GdkRGBA bcolor; |
@@ -64,6 +65,7 @@ GNUNET_GTK_anonymity_spin_button_value_changed_cb (GtkWidget * w, gpointer data) | |||
64 | gtk_widget_override_background_color (w, GTK_STATE_NORMAL, NULL); | 65 | gtk_widget_override_background_color (w, GTK_STATE_NORMAL, NULL); |
65 | gtk_widget_override_color (w, GTK_STATE_NORMAL, NULL); | 66 | gtk_widget_override_color (w, GTK_STATE_NORMAL, NULL); |
66 | } | 67 | } |
68 | #endif | ||
67 | } | 69 | } |
68 | 70 | ||
69 | 71 | ||