changeset 30545:277451b94288

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 *¡Ç
author Mark Doliner <mark@kingant.net>
date Mon, 13 Sep 2010 09:22:59 +0000
parents 718c16d7c6c9
children 1d55c7e1006e 66981e71af29
files pidgin/gtkplugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }