diff pidgin/gtkutils.c @ 17410:fe8a1051aa0a

Casting things to gpointer isn't useful, unless they were previously const.
author Richard Laager <rlaager@wiktel.com>
date Fri, 25 May 2007 19:05:47 +0000
parents 45fcb1611bef
children 747e5fd970e6 2f8d77356268 3c4811489e30
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Fri May 25 18:51:41 2007 +0000
+++ b/pidgin/gtkutils.c	Fri May 25 19:05:47 2007 +0000
@@ -762,7 +762,7 @@
 void
 pidgin_account_option_menu_set_selected(GtkWidget *optmenu, PurpleAccount *account)
 {
-	aop_option_menu_select_by_data(optmenu, (gpointer)account);
+	aop_option_menu_select_by_data(optmenu, account);
 }
 
 GtkWidget *
@@ -1837,7 +1837,7 @@
 		return TRUE;
 
 	if (optmenu != NULL)
-		aop_option_menu_select_by_data(optmenu, (gpointer)account);
+		aop_option_menu_select_by_data(optmenu, account);
 
 	return TRUE;
 }