changeset 17341: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 403fd23569de
children ecf5bf6daa78 674d8bc2b980 ba768014f91f 2f8d77356268
files pidgin/gtkutils.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;
 }