aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-15 19:29:54 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-15 19:29:54 +0000
commit6c500e9606d75d75d5c761c90702e462bcbf93a3 (patch)
tree1d9dac84c1757e2d829236f4ea1c58bed1f2c882
parent65ed1b5b96200069b3d92216bcaa1335502b5a10 (diff)
downloadgnunet-gtk-6c500e9606d75d75d5c761c90702e462bcbf93a3.tar.gz
gnunet-gtk-6c500e9606d75d75d5c761c90702e462bcbf93a3.zip
-fix copy & paste error
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-search.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c
index e3190d9c..58159c3b 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -446,6 +446,7 @@ GNUNET_GTK_enter_nick_window_execute_button_clicked_cb (GtkButton * button,
446 gtk_widget_destroy (lctx->nick_dialog); 446 gtk_widget_destroy (lctx->nick_dialog);
447 g_object_unref (G_OBJECT (lctx->nick_dialog_builder)); 447 g_object_unref (G_OBJECT (lctx->nick_dialog_builder));
448 lctx->nick_dialog_builder = NULL; 448 lctx->nick_dialog_builder = NULL;
449 lctx->nick_dialog = NULL;
449} 450}
450 451
451 452
@@ -500,10 +501,10 @@ ask_for_nickname (struct PseuLookupContext *lctx)
500 /* setup the dialog and get the widgets we need most */ 501 /* setup the dialog and get the widgets we need most */
501 lctx->nick_dialog_builder = GNUNET_GTK_get_new_builder ("gnunet_fs_gtk_enter_nick_dialog.glade", 502 lctx->nick_dialog_builder = GNUNET_GTK_get_new_builder ("gnunet_fs_gtk_enter_nick_dialog.glade",
502 lctx); 503 lctx);
503 lctx->progress_dialog = GTK_WIDGET (gtk_builder_get_object (lctx->nick_dialog_builder, 504 lctx->nick_dialog = GTK_WIDGET (gtk_builder_get_object (lctx->nick_dialog_builder,
504 "GNUNET_GTK_enter_nick_window")); 505 "GNUNET_GTK_enter_nick_window"));
505 /* show the window */ 506 /* show the window */
506 gtk_window_present (GTK_WINDOW (lctx->progress_dialog)); 507 gtk_window_present (GTK_WINDOW (lctx->nick_dialog));
507} 508}
508 509
509 510
@@ -532,6 +533,7 @@ lookup_finished (void *cls,
532 gtk_widget_destroy (lctx->progress_dialog); 533 gtk_widget_destroy (lctx->progress_dialog);
533 g_object_unref (G_OBJECT (lctx->progress_dialog_builder)); 534 g_object_unref (G_OBJECT (lctx->progress_dialog_builder));
534 lctx->progress_dialog_builder = NULL; 535 lctx->progress_dialog_builder = NULL;
536 lctx->progress_dialog = NULL;
535 } 537 }
536 for (i=0;i<rd_count;i++) 538 for (i=0;i<rd_count;i++)
537 { 539 {
@@ -571,6 +573,7 @@ GNUNET_FS_GTK_pseu_progress_dialog_cancel_button_clicked_cb (GtkButton *button,
571 gtk_widget_destroy (lctx->progress_dialog); 573 gtk_widget_destroy (lctx->progress_dialog);
572 g_object_unref (G_OBJECT (lctx->progress_dialog_builder)); 574 g_object_unref (G_OBJECT (lctx->progress_dialog_builder));
573 lctx->progress_dialog_builder = NULL; 575 lctx->progress_dialog_builder = NULL;
576 lctx->progress_dialog = NULL;
574 } 577 }
575 if (NULL != lctx->nick) 578 if (NULL != lctx->nick)
576 abort_pseu_lookup (lctx); 579 abort_pseu_lookup (lctx);