/pidgin/main: 99d719d058df: Remove extra trailing whitespace.

Elliott Sales de Andrade qulogic at pidgin.im
Tue Jul 24 04:03:42 EDT 2012


Changeset: 99d719d058df4ff2b0bba0074fdcd48429f5bd8f
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-07-18 03:37 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/99d719d058df

Description:

Remove extra trailing whitespace.

diffstat:

 libpurple/util.c    |  12 ++++++------
 pidgin/gtkaccount.c |  15 ++++++++-------
 pidgin/gtkblist.c   |   4 ++--
 3 files changed, 16 insertions(+), 15 deletions(-)

diffs (107 lines):

diff --git a/libpurple/util.c b/libpurple/util.c
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -3492,20 +3492,20 @@
 {
 	PurplePluginProtocolInfo *prpl_info;
 	const char *normalized;
-	
+
 	g_return_val_if_fail(prpl != NULL, FALSE);
 	g_return_val_if_fail(str != NULL, FALSE);
-	
+
 	if (str[0] == '\0')
 		return FALSE;
-	
+
 	prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
-	
+
 	if (!prpl_info->normalize)
 		return TRUE;
-	
+
 	normalized = prpl_info->normalize(NULL, str);
-	
+
 	return (NULL != normalized);
 }
 
diff --git a/pidgin/gtkaccount.c b/pidgin/gtkaccount.c
--- a/pidgin/gtkaccount.c
+++ b/pidgin/gtkaccount.c
@@ -295,7 +295,7 @@
 		(dialog->prpl_info->options & OPT_PROTO_REGISTER_NOSCREENNAME));
 	gboolean username_valid = purple_validate(dialog->plugin,
 		gtk_entry_get_text(entry));
-	
+
 	if (dialog->ok_button) {
 		if (opt_noscreenname && dialog->register_button &&
 			gtk_toggle_button_get_active(
@@ -305,6 +305,7 @@
 			gtk_widget_set_sensitive(dialog->ok_button,
 				username_valid);
 	}
+
 	if (dialog->register_button) {
 		if (opt_noscreenname)
 			gtk_widget_set_sensitive(dialog->register_button, TRUE);
@@ -350,10 +351,10 @@
 	int opt_noscreenname = (dialog->prpl_info != NULL &&
 		(dialog->prpl_info->options & OPT_PROTO_REGISTER_NOSCREENNAME));
 	int register_noscreenname = (opt_noscreenname && register_checked);
-	
-	// get rid of login_label in username field
+
+	/* get rid of login_label in username field */
 	username_focus_cb(dialog->username_entry, NULL, dialog);
-	
+
 	if (register_noscreenname) {
 		gtk_entry_set_text(GTK_ENTRY(dialog->username_entry), "");
 		gtk_entry_set_text(GTK_ENTRY(dialog->password_entry), "");
@@ -362,14 +363,14 @@
 	gtk_widget_set_sensitive(dialog->username_entry, !register_noscreenname);
 	gtk_widget_set_sensitive(dialog->password_entry, !register_noscreenname);
 	gtk_widget_set_sensitive(dialog->remember_pass_check, !register_noscreenname);
-	
+
 	if (dialog->ok_button) {
 		gtk_widget_set_sensitive(dialog->ok_button,
 			(opt_noscreenname && register_checked) ||
 			*gtk_entry_get_text(GTK_ENTRY(dialog->username_entry))
 				!= '\0');
 	}
-	
+
 	username_nofocus_cb(dialog->username_entry, NULL, dialog);
 }
 
@@ -1294,7 +1295,7 @@
 	{
 		const PurpleSavedStatus *saved_status = purple_savedstatus_get_current();
 		purple_signal_emit(pidgin_account_get_handle(), "account-modified", account);
-		
+
 		if (saved_status != NULL && purple_account_get_remember_password(account)) {
 			purple_savedstatus_activate_for_account(saved_status, account);
 			purple_account_set_enabled(account, PIDGIN_UI, TRUE);
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -936,11 +936,11 @@
 	PurplePlugin *prpl;
 	PidginAddBuddyData *data = user_data;
 	const char *text;
-	
+
 	prpl = purple_find_prpl(purple_account_get_protocol_id(
 		data->rq_data.account));
 	text = gtk_entry_get_text(GTK_ENTRY(entry));
-	
+
 	gtk_dialog_set_response_sensitive(GTK_DIALOG(data->rq_data.window),
 		GTK_RESPONSE_OK, purple_validate(prpl, text));
 }



More information about the Commits mailing list