diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_publish-dialog.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index cd1f1262..074a1ad1 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -1256,7 +1256,7 @@ scan_file_or_directory (struct MainPublishingDialogContext *ctx, | |||
1256 | * Function called when the "open" (directory) dialog was closed. | 1256 | * Function called when the "open" (directory) dialog was closed. |
1257 | * | 1257 | * |
1258 | * @param dialog the open dialog | 1258 | * @param dialog the open dialog |
1259 | * @param response_id result of the dialog ("-5" means to "run") | 1259 | * @param response_id result of the dialog (GTK_RESPONSE_OK means to "run") |
1260 | * @param user_data master publishing dialog context of our window | 1260 | * @param user_data master publishing dialog context of our window |
1261 | */ | 1261 | */ |
1262 | void | 1262 | void |
@@ -1266,7 +1266,7 @@ GNUNET_GTK_publish_directory_dialog_response_cb (GtkDialog * dialog, | |||
1266 | { | 1266 | { |
1267 | struct MainPublishingDialogContext *ctx = user_data; | 1267 | struct MainPublishingDialogContext *ctx = user_data; |
1268 | 1268 | ||
1269 | if (response_id == -5 /* OK */) | 1269 | if (GTK_RESPONSE_OK == response_id) |
1270 | { | 1270 | { |
1271 | char *filename; | 1271 | char *filename; |
1272 | int do_index; | 1272 | int do_index; |
@@ -1317,7 +1317,7 @@ GNUNET_GTK_publish_directory_dialog_response_cb (GtkDialog * dialog, | |||
1317 | * Function called when the "open" (file) dialog was closed. | 1317 | * Function called when the "open" (file) dialog was closed. |
1318 | * | 1318 | * |
1319 | * @param dialog the open dialog | 1319 | * @param dialog the open dialog |
1320 | * @param response_id result of the dialog ("-5" means to "run") | 1320 | * @param response_id result of the dialog (GTK_RESPONSE_OK means to "run") |
1321 | * @param user_data master publishing dialog context of our window | 1321 | * @param user_data master publishing dialog context of our window |
1322 | */ | 1322 | */ |
1323 | void | 1323 | void |
@@ -1327,7 +1327,7 @@ GNUNET_GTK_publish_file_dialog_response_cb (GtkDialog * dialog, | |||
1327 | { | 1327 | { |
1328 | struct MainPublishingDialogContext *ctx = user_data; | 1328 | struct MainPublishingDialogContext *ctx = user_data; |
1329 | 1329 | ||
1330 | if (response_id == -5 /* OK */) | 1330 | if (GTK_RESPONSE_OK == response_id) |
1331 | { | 1331 | { |
1332 | char *filename; | 1332 | char *filename; |
1333 | struct GNUNET_FS_BlockOptions bo; | 1333 | struct GNUNET_FS_BlockOptions bo; |