<xfce4-screenshooter:master> Patch by Enrico Tröger to remove useless g_strdup.

Jérôme Guelfucci noreply at xfce.org
Thu Nov 12 15:44:01 CET 2009


Updating branch refs/heads/master
         to 544a6a31b1c9f1e7329ddc53ff3c7bb429cf10db (commit)
       from 846303aab7730303fb0c4f722dcf8a916b4e20d0 (commit)

commit 544a6a31b1c9f1e7329ddc53ff3c7bb429cf10db
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Thu Nov 12 14:37:35 2009 +0100

    Patch by Enrico Tröger to remove useless g_strdup.

 lib/screenshooter-zimagez.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index 281257b..4c13ff1 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -238,10 +238,10 @@ zimagez_upload_job (ScreenshooterJob *job, GValueArray *param_values, GError **e
   gsize data_length;
   gboolean response = FALSE;
 
-  const gchar *serverurl = g_strdup ("http://www.zimagez.com/apiXml.php");
-  const gchar *method_login = g_strdup ("apiXml.xmlrpcLogin");
-  const gchar *method_logout = g_strdup ("apiXml.xmlrpcLogout");
-  const gchar *method_upload = g_strdup ("apiXml.xmlrpcUpload");
+  const gchar *serverurl = "http://www.zimagez.com/apiXml.php";
+  const gchar *method_login = "apiXml.xmlrpcLogin";
+  const gchar *method_logout = "apiXml.xmlrpcLogout";
+  const gchar *method_upload = "apiXml.xmlrpcUpload";
   SoupSession *session;
   SoupURI *soup_proxy_uri;
 



More information about the Xfce4-commits mailing list