+2007-12-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * backend/comics/comics-document.c: (comics_document_load):
+
+ Cygwin build issue fix.
+
2007-12-16 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (ev_view_set_zoom):
{
ComicsDocument *comics_document = COMICS_DOCUMENT (document);
GSList *supported_extensions;
- gchar *list_files_command = NULL, *stdout, *quoted_file, *mime_type;
+ gchar *list_files_command = NULL, *std_out, *quoted_file, *mime_type;
gchar **cbr_files;
gboolean success;
int i, retval;
/* Get list of files in archive */
success = g_spawn_command_line_sync (list_files_command,
- &stdout, NULL, &retval, error);
+ &std_out, NULL, &retval, error);
g_free (list_files_command);
if (!success) {
return FALSE;
}
- cbr_files = g_strsplit (stdout, "\n", 0);
+ cbr_files = g_strsplit (std_out, "\n", 0);
supported_extensions = get_supported_image_extensions ();
for (i = 0; cbr_files[i] != NULL; i++) {
gchar *suffix = g_strrstr (cbr_files[i], ".");
g_free (suffix);
}
- g_free (stdout);
+ g_free (std_out);
g_free (mime_type);
g_strfreev (cbr_files);
g_slist_foreach (supported_extensions, (GFunc) g_free, NULL);