diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2005-02-15 02:31:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2005-02-15 02:31:47 +0800 |
commit | 691a7109602d4f63b5499cc166ad8e8e802d8bc1 (patch) | |
tree | cdd1f5e9d12ffdad3193a7d5a21df661d3d5498c /composer/e-msg-composer-select-file.c | |
parent | 076e2097656f443195a69d49e48c162b0f4bb25c (diff) | |
download | gsoc2013-evolution-691a7109602d4f63b5499cc166ad8e8e802d8bc1.tar.gz gsoc2013-evolution-691a7109602d4f63b5499cc166ad8e8e802d8bc1.tar.zst gsoc2013-evolution-691a7109602d4f63b5499cc166ad8e8e802d8bc1.zip |
declare a variable in the !USE_GTKFILECHOOSER code path
----------------------------------------------------------------------
svn path=/trunk/; revision=28791
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r-- | composer/e-msg-composer-select-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index 5f319421b6..6fdf711081 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -197,7 +197,8 @@ select_attach_response(GtkWidget *selector, guint response, struct _EMsgComposer path = g_path_get_dirname (gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (selector))); #else char **files; - + int i; + names = NULL; if ((files = gtk_file_selection_get_selections (GTK_FILE_SELECTION (selector)))) { for (i = 0; files[i]; i++) |