diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-18 11:22:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-18 11:22:27 +0000 |
commit | 4be8ccb2c24c0f070aea6619d3444ce1ec274fad (patch) | |
tree | 6345db01b78155664ab8f23116e32ea9d9685dd6 | |
parent | d3a838946bb9c7f111bde91fc3d9e7bc583588ac (diff) | |
download | gnunet-gtk-4be8ccb2c24c0f070aea6619d3444ce1ec274fad.tar.gz gnunet-gtk-4be8ccb2c24c0f070aea6619d3444ce1ec274fad.zip |
-making code work with gtk 2.20
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_file_download.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_file_download.c b/src/fs/gnunet-fs-gtk-main_window_file_download.c index 0d1114af..4f79329f 100644 --- a/src/fs/gnunet-fs-gtk-main_window_file_download.c +++ b/src/fs/gnunet-fs-gtk-main_window_file_download.c | |||
@@ -126,6 +126,10 @@ GNUNET_GTK_open_url_dialog_cancel_button_clicked_cb (GtkButton *button, | |||
126 | return; | 126 | return; |
127 | } | 127 | } |
128 | 128 | ||
129 | #ifndef GDK_KEY_Return | ||
130 | #define GDK_KEY_Return GDK_Return | ||
131 | #endif | ||
132 | |||
129 | gboolean | 133 | gboolean |
130 | GNUNET_GTK_open_url_dialog_url_textview_key_press_event_cb (GtkWidget *widget, | 134 | GNUNET_GTK_open_url_dialog_url_textview_key_press_event_cb (GtkWidget *widget, |
131 | GdkEventKey *event, gpointer user_data) | 135 | GdkEventKey *event, gpointer user_data) |