pidgin: 38eaad68: Remove an unnecessary cast. Get's rid o...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Sep 13 05:26:23 EDT 2010
----------------------------------------------------------------------
Revision: 38eaad68c9e65295acb7aa04cd59bb448f058b47
Parent: 2bac12b0ae1a742705efee7d0ef0bb4f6b4481a1
Author: markdoliner at pidgin.im
Date: 09/13/10 05:22:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/38eaad68c9e65295acb7aa04cd59bb448f058b47
Changelog:
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 *'
Changes against parent 2bac12b0ae1a742705efee7d0ef0bb4f6b4481a1
patched pidgin/gtkplugin.c
-------------- next part --------------
============================================================
--- pidgin/gtkplugin.c 44c9f62946a8f115abf0a08674876faa2545e27d
+++ pidgin/gtkplugin.c 66d4b71fa7275d371c89dbf2c2421a096ce1c0c4
@@ -801,7 +801,7 @@ void pidgin_plugin_dialog_show()
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);
}
More information about the Commits
mailing list