aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-06-25 14:43:48 +0000
committerChristian Grothoff <christian@grothoff.org>2005-06-25 14:43:48 +0000
commita55f7f0477607e21f0d318e2fafdad8936b0a7dc (patch)
tree51356720fbc44199dc4b37c961e8b930fbe4a07c
parentb5f2d67ce48245211e9c93ebc16a6ba0e02f71ad (diff)
downloadgnunet-gtk-a55f7f0477607e21f0d318e2fafdad8936b0a7dc.tar.gz
gnunet-gtk-a55f7f0477607e21f0d318e2fafdad8936b0a7dc.zip
fix
-rw-r--r--src/upload.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/upload.c b/src/upload.c
index 5ac0659f..80d8c3a9 100644
--- a/src/upload.c
+++ b/src/upload.c
@@ -695,14 +695,14 @@ static char *selectFile() {
695 char * filename; 695 char * filename;
696 696
697 filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog)); 697 filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
698 ret = strdup(filename); 698 ret = STRDUP(filename);
699 g_free(filename); 699 g_free(filename);
700 } 700 } else
701 else 701 ret = NULL;
702 ret = NULL;
703 702
704 gtk_widget_destroy (dialog); 703 gtk_widget_destroy (dialog);
705 UNREF(uploadXML); 704 UNREF(uploadXML);
705 return ret;
706#else /* MINGW */ 706#else /* MINGW */
707 return plibc_ChooseDir(_("Choose the file or directory you want to publish."), 707 return plibc_ChooseDir(_("Choose the file or directory you want to publish."),
708 BIF_BROWSEINCLUDEFILES | BIF_USENEWUI | BIF_SHAREABLE | BIF_NONEWFOLDERBUTTON); 708 BIF_BROWSEINCLUDEFILES | BIF_USENEWUI | BIF_SHAREABLE | BIF_NONEWFOLDERBUTTON);