From e5c0b2f9dd3d466879d4609aece439f2e843445f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 3 Feb 2012 13:00:07 +0000 Subject: -adding build system basics for stream library --- src/fs/gnunet-fs-gtk_event-handler.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c index 93e5c27a..bd2378e1 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.c +++ b/src/fs/gnunet-fs-gtk_event-handler.c @@ -2262,8 +2262,9 @@ handle_publish_stop (struct PublishEntry *pe) * @param button the stop button * @param user_data the 'struct PublishTab' that is being closed */ -static void -stop_publishing (GtkButton * button, gpointer user_data) +void +GNUNET_FS_GTK_publish_label_close_button_clicked (GtkButton * button, + gpointer user_data) { struct PublishTab *tab = user_data; struct PublishEntry *ent; @@ -2325,7 +2326,6 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, GtkTreePath *path; GtkWindow *df; GtkWidget *tab_label; - GtkWidget *close_button; GtkNotebook *notebook; char *size_fancy; @@ -2351,13 +2351,6 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, gtk_container_remove (GTK_CONTAINER (df), tab_label); gtk_widget_destroy (GTK_WIDGET (df)); - /* FIXME-UNCLEAN: connect these signals using GLADE!!! */ - /* get refs to widgets */ - close_button = - GTK_WIDGET (gtk_builder_get_object - (publish_tab->builder, "_publish_label_close_button")); - g_signal_connect (G_OBJECT (close_button), "clicked", - G_CALLBACK (stop_publishing), publish_tab); /* make visible */ notebook = GTK_NOTEBOOK (GNUNET_FS_GTK_get_main_window_object -- cgit v1.2.3