# HG changeset patch # User Mark Doliner # Date 1284369779 0 # Node ID 277451b942885304cba765091cef5393b1d1661e # Parent 718c16d7c6c9763e272d0c00adffee6f66494565 Remove an unnecessary cast. Get's rid of this compile warning: gtkplugin.c: In function ¡Æpidgin_plugin_dialog_show¡Ç: gtkplugin.c:804: warning: passing argument 1 of ¡Æpidgin_auto_parent_window¡Ç from incompatible pointer type gtkutils.h:819: note: expected ¡Æstruct GtkWidget *¡Ç but argument is of type ¡Æstruct GtkWindow *¡Ç diff -r 718c16d7c6c9 -r 277451b94288 pidgin/gtkplugin.c --- a/pidgin/gtkplugin.c Mon Sep 13 09:20:18 2010 +0000 +++ b/pidgin/gtkplugin.c Mon Sep 13 09:22:59 2010 +0000 @@ -801,7 +801,7 @@ g_signal_connect(G_OBJECT(plugin_dialog), "response", G_CALLBACK(plugin_dialog_response_cb), sel); gtk_window_set_default_size(GTK_WINDOW(plugin_dialog), 430, 530); - pidgin_auto_parent_window(GTK_WINDOW(plugin_dialog)); + pidgin_auto_parent_window(plugin_dialog); gtk_widget_show_all(plugin_dialog); }