cpw.qulogic.gtk3: f3961bf7: Remove an extra "fake" check.

qulogic at pidgin.im qulogic at pidgin.im
Mon Jul 26 02:01:45 EDT 2010


----------------------------------------------------------------------
Revision: f3961bf768b8a93583640b6058ba23d7f2c73c67
Parent:   8cdac18f7d6a60107123f9fe40ef6ec0afeaf648
Author:   qulogic at pidgin.im
Date:     07/26/10 01:40:49
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/f3961bf768b8a93583640b6058ba23d7f2c73c67

Changelog: 

Remove an extra "fake" check.

Changes against parent 8cdac18f7d6a60107123f9fe40ef6ec0afeaf648

  patched  pidgin/gtkaccount.c

-------------- next part --------------
============================================================
--- pidgin/gtkaccount.c	a7f38abdd936279e2973d909129b00c88f1063e6
+++ pidgin/gtkaccount.c	751b98199567689d8adad96399af918b4a4e67e6
@@ -245,7 +245,7 @@ static void
 }
 
 static void
-set_account_protocol_cb(GtkWidget *item, const char *id,
+set_account_protocol_cb(GtkWidget *widget, const char *id,
 						AccountPrefsDialog *dialog)
 {
 	PurplePlugin *new_plugin;
@@ -271,8 +271,7 @@ set_account_protocol_cb(GtkWidget *item,
 
 	gtk_widget_grab_focus(dialog->protocol_menu);
 
-	if (!dialog->prpl_info || !dialog->prpl_info->register_user ||
-	    g_object_get_data(G_OBJECT(item), "fake")) {
+	if (!dialog->prpl_info || !dialog->prpl_info->register_user) {
 		gtk_widget_hide(dialog->register_button);
 	} else {
 		if (dialog->prpl_info != NULL &&


More information about the Commits mailing list