gimp r26299 - in trunk: . plug-ins/uri
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26299 - in trunk: . plug-ins/uri
- Date: Thu, 24 Jul 2008 14:43:40 +0000 (UTC)
Author: neo
Date: Thu Jul 24 14:43:40 2008
New Revision: 26299
URL: http://svn.gnome.org/viewvc/gimp?rev=26299&view=rev
Log:
2008-07-24 Sven Neumann <sven gimp org>
* plug-ins/uri/uri-backend-libcurl.c: use g_fopen().
* plug-ins/uri/uri-backend-gvfs.c: formatting.
Modified:
trunk/ChangeLog
trunk/plug-ins/uri/uri-backend-gvfs.c
trunk/plug-ins/uri/uri-backend-libcurl.c
Modified: trunk/plug-ins/uri/uri-backend-gvfs.c
==============================================================================
--- trunk/plug-ins/uri/uri-backend-gvfs.c (original)
+++ trunk/plug-ins/uri/uri-backend-gvfs.c Thu Jul 24 14:43:40 2008
@@ -199,9 +199,11 @@
case DOWNLOAD:
format = _("Downloading image (%s of %s)");
break;
+
case UPLOAD:
format = _("Uploading image (%s of %s)");
break;
+
default:
g_assert_not_reached ();
}
@@ -223,9 +225,11 @@
case DOWNLOAD:
format = _("Downloaded %s of image data");
break;
+
case UPLOAD:
format = _("Uploaded %s of image data");
break;
+
default:
g_assert_not_reached ();
}
Modified: trunk/plug-ins/uri/uri-backend-libcurl.c
==============================================================================
--- trunk/plug-ins/uri/uri-backend-libcurl.c (original)
+++ trunk/plug-ins/uri/uri-backend-libcurl.c Thu Jul 24 14:43:40 2008
@@ -21,12 +21,12 @@
#include "config.h"
-#include <stdio.h>
-
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
+#include <glib/gstdio.h>
+
#include <libgimp/gimp.h>
#include <libgimp/gimpui.h>
@@ -154,7 +154,7 @@
gimp_progress_init (_("Connecting to server"));
- if ((out_file = fopen(tmpname, "wb")) == NULL)
+ if ((out_file = g_fopen (tmpname, "wb")) == NULL)
{
g_set_error (error, 0, 0,
_("Could not open output file for writing"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]