]> www.fi.muni.cz Git - evince.git/commitdiff
Cygwin build issue fix.
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 18 Dec 2007 08:03:46 +0000 (08:03 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 18 Dec 2007 08:03:46 +0000 (08:03 +0000)
2007-12-18  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

* backend/comics/comics-document.c: (comics_document_load):

Cygwin build issue fix.

svn path=/trunk/; revision=2772

ChangeLog
backend/comics/comics-document.c

index ee561c492186dec0faba97b4eb6a61e0b351d99a..4e5a748e3c22275ace66c7dd5f080fe3297b7cb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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):
index 77e6fabd5a4d66d8aeef07c5fec5cb3e375ada4b..b72eef69694290da995598a4802fe71866e8f280 100644 (file)
@@ -106,7 +106,7 @@ comics_document_load (EvDocument *document,
 {
        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;
@@ -137,7 +137,7 @@ comics_document_load (EvDocument *document,
 
        /* 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) {
@@ -152,7 +152,7 @@ comics_document_load (EvDocument *document,
                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], ".");
@@ -173,7 +173,7 @@ comics_document_load (EvDocument *document,
                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);