GNOME Bugzilla – Bug 680291
Avoid a warning at login
Last modified: 2012-07-27 11:47:55 UTC
The wacom plugin calls init_screens before creating the devices hash table in gsd_wacom_manager_idle_cb. init_screens connects to the ::changed signal on GnomeRRScreens, and the signal handler assumes that the devices hash table has been created. When we are logging in, the ::changed signal is emitted before the idle callback has a chance to run, causing a critical warning out of g_hash_table_get_values. Avoid that by creating the devices hash table before calling init_screens.
Created attachment 219283 [details] [review] Avoid a warning at login
Review of attachment 219283 [details] [review]: I would rather ignore the ::changed signal notification if the devices' hash table is not created yet
Created attachment 219331 [details] [review] Updated patch Would this be acceptable instead?
Comment on attachment 219331 [details] [review] Updated patch sure, that works too
Review of attachment 219331 [details] [review]: Prefix the commit subject with "wacom:" and you're good.
Committed with "wacom:" added to the subject.