# HG changeset patch # User Richard Laager # Date 1180119947 0 # Node ID fe8a1051aa0aceb3f076dc9292b73d3b73013fac # Parent 403fd23569de428a6905f94f4f30cbf2fd7c30c3 Casting things to gpointer isn't useful, unless they were previously const. diff -r 403fd23569de -r fe8a1051aa0a pidgin/gtkutils.c --- 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; }