diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_create-pseudonym.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_create-pseudonym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_create-pseudonym.c b/src/fs/gnunet-fs-gtk_create-pseudonym.c index 558fcb91..86e5abe9 100644 --- a/src/fs/gnunet-fs-gtk_create-pseudonym.c +++ b/src/fs/gnunet-fs-gtk_create-pseudonym.c | |||
@@ -31,7 +31,7 @@ | |||
31 | * User completed the 'create pseudonym' dialog. Run the desired action. | 31 | * User completed the 'create pseudonym' dialog. Run the desired action. |
32 | * | 32 | * |
33 | * @param dialog the dialog | 33 | * @param dialog the dialog |
34 | * @param response_id '-5' on "OK" | 34 | * @param response_id GTK_RESPONSE_OK on "OK" |
35 | * @param user_data the builder of the dialog | 35 | * @param user_data the builder of the dialog |
36 | */ | 36 | */ |
37 | void | 37 | void |
@@ -43,7 +43,7 @@ GNUNET_GTK_create_namespace_dialog_response_cb (GtkDialog * dialog, | |||
43 | const char *name; | 43 | const char *name; |
44 | struct GNUNET_FS_Namespace *ns; | 44 | struct GNUNET_FS_Namespace *ns; |
45 | 45 | ||
46 | if (response_id != -5) | 46 | if (GTK_RESPONSE_OK != response_id) |
47 | { | 47 | { |
48 | gtk_widget_destroy (GTK_WIDGET (dialog)); | 48 | gtk_widget_destroy (GTK_WIDGET (dialog)); |
49 | g_object_unref (G_OBJECT (builder)); | 49 | g_object_unref (G_OBJECT (builder)); |