aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-main_window_file_download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_file_download.c')
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_download.c11
1 files changed, 11 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 4f79329f..cc3b7f8f 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,17 @@ GNUNET_GTK_open_url_dialog_cancel_button_clicked_cb (GtkButton *button,
126 return; 126 return;
127} 127}
128 128
129gboolean
130GNUNET_GTK_open_url_window_delete_event_cb (GtkWidget *widget,
131 GdkEvent *event, gpointer user_data)
132{
133 GtkBuilder *builder;
134 builder = GTK_BUILDER (user_data);
135
136 gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (builder, "GNUNET_GTK_open_url_window")));
137 return TRUE;
138}
139
129#ifndef GDK_KEY_Return 140#ifndef GDK_KEY_Return
130#define GDK_KEY_Return GDK_Return 141#define GDK_KEY_Return GDK_Return
131#endif 142#endif