GNOME Bugzilla – Bug 630671
prepare mutter for the demise of GtkObject
Last modified: 2010-09-27 17:59:33 UTC
Created attachment 171154 [details] [review] patch Here is a patch that makes mutter work with GTK3 after the destroy signal has been moved to GtkWidget, and GtkObject is gone. I don't know what the current story on gtk 2.x compatibility is. If mutter needs to continue working with gtk 2.x, we need to add some ifdefs
Created attachment 171225 [details] [review] ifdef-enhanced patch
Review of attachment 171225 [details] [review]: Looks good. (it's actually possible to have signals on non-GObject types, so not casting the argument to g_signal_connect() at all and letting g_signal_connect() take it the void * may be considered most correct. On the other hand, some people may choose to act if signals on non-GObject types don't exist :-)
t