[Xfce4-commits] <xfce4-screenshooter:master> Update a comment and improve indentation in ZimageZ stuff.
Jérôme Guelfucci
noreply at xfce.org
Tue Oct 13 23:50:01 CEST 2009
Updating branch refs/heads/master
to 69b5228c6b6f45ee117f0a035193633791860de5 (commit)
from f4d4592b8e7d4fa3d65813095057678858a37cd8 (commit)
commit 69b5228c6b6f45ee117f0a035193633791860de5
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Tue Oct 13 21:06:02 2009 +0200
Update a comment and improve indentation in ZimageZ stuff.
lib/screenshooter-zimagez.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index 1814848..84c3771 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -883,7 +883,9 @@ cb_ask_for_information (ScreenshooterJob *job,
-static void cb_image_uploaded (ScreenshooterJob *job, gchar *upload_name, gchar **last_user)
+static void cb_image_uploaded (ScreenshooterJob *job,
+ gchar *upload_name,
+ gchar **last_user)
{
GtkWidget *dialog;
GtkWidget *main_alignment, *vbox;
@@ -1141,13 +1143,17 @@ static void cb_update_info (ExoJob *job, gchar *message, GtkWidget *label)
* ZimageZ.com.
* @last_user: the last user name used, to pre-fill the user field.
* @title: a default title, to pre-fill the title field.
+ * @new_last_user: address of the string used to store the new user
+ * if the upload is succesful.
*
* Uploads the image whose path is @image_path: a dialog asks for the user
* login, password, a title for the image and a comment; then the image is
* uploaded. The dialog is shown again with a warning is the password did
- * match the user name. The user can also cancel the upload procedure.
+ * not match the user name. The user can also cancel the upload procedure.
+ *
+ * If the upload was succesful, @new_last_user points to the user name for
+ * which the upload was done.
*
- * Last user is updated with the given user name if the upload was successful.
**/
void screenshooter_upload_to_zimagez (const gchar *image_path,
More information about the Xfce4-commits
mailing list