[Xfce4-commits] <xfce4-screenshooter:master> Improve the prototype of the upload function.
Jérôme Guelfucci
noreply at xfce.org
Sun Oct 11 19:50:02 CEST 2009
Updating branch refs/heads/master
to f4d4592b8e7d4fa3d65813095057678858a37cd8 (commit)
from aa668e027fa2c72b730d752ad357d4bb1887acfa (commit)
commit f4d4592b8e7d4fa3d65813095057678858a37cd8
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Oct 11 19:51:52 2009 +0200
Improve the prototype of the upload function.
lib/screenshooter-actions.c | 4 ++--
lib/screenshooter-zimagez.c | 6 +++---
lib/screenshooter-zimagez.h | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/screenshooter-actions.c b/lib/screenshooter-actions.c
index 304ae37..f5e25e8 100644
--- a/lib/screenshooter-actions.c
+++ b/lib/screenshooter-actions.c
@@ -106,8 +106,8 @@ gboolean screenshooter_action_idle (ScreenshotData *sd)
screenshooter_upload_to_zimagez (screenshot_path,
sd->last_user,
- &new_last_user,
- sd->title);
+ sd->title,
+ &new_last_user);
if (new_last_user)
{
diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index 975fa48..1814848 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -1151,9 +1151,9 @@ static void cb_update_info (ExoJob *job, gchar *message, GtkWidget *label)
**/
void screenshooter_upload_to_zimagez (const gchar *image_path,
- gchar *last_user,
- gchar **new_last_user,
- gchar *title)
+ const gchar *last_user,
+ const gchar *title,
+ gchar **new_last_user)
{
ScreenshooterJob *job;
GtkWidget *dialog;
diff --git a/lib/screenshooter-zimagez.h b/lib/screenshooter-zimagez.h
index d6ed50f..24834d7 100644
--- a/lib/screenshooter-zimagez.h
+++ b/lib/screenshooter-zimagez.h
@@ -34,9 +34,9 @@
#include "katze-throbber.h"
void screenshooter_upload_to_zimagez (const gchar *image_path,
- gchar *last_user,
- gchar **new_last_user,
- gchar *title);
+ const gchar *last_user,
+ const gchar *title,
+ gchar **new_last_user);
#endif
More information about the Xfce4-commits
mailing list