GNOME Bugzilla – Bug 687067
[patches] wip/modernize
Last modified: 2012-11-02 20:38:11 UTC
Various patches to bring gnome-session up to speed on the latest GLib.
Created attachment 227485 [details] [review] build: Require the latest GLib Needed to use SIGUSR1 with g_unix_signal_add().
Created attachment 227486 [details] [review] Use g_unix_signal_add() instead of GdmSignalHandler Part of GLib, cleaner, better, faster, reverses male pattern baldness, etc.
Created attachment 227487 [details] [review] Use g_clear_object/g_clear_pointer Just makes the code feel more modern.
Created attachment 227488 [details] [review] Drop gsm-marshal.list, use g_cclosure_marshal_generic We can just pass NULL everywhere nowadays.
Review of attachment 227485 [details] [review]: Sure
Review of attachment 227486 [details] [review]: Looks nice - we should do the same to gdm, where this code originated
Review of attachment 227487 [details] [review]: Looks good
Review of attachment 227488 [details] [review]: Ok
Attachment 227485 [details] pushed as 436bb15 - build: Require the latest GLib Attachment 227486 [details] pushed as 76c7543 - Use g_unix_signal_add() instead of GdmSignalHandler Attachment 227487 [details] pushed as 655d9bd - Use g_clear_object/g_clear_pointer Attachment 227488 [details] pushed as 06c7065 - Drop gsm-marshal.list, use g_cclosure_marshal_generic