GNOME Bugzilla – Bug 691623
xrandr: Drop an unused object
Last modified: 2013-01-12 21:17:48 UTC
The code was instantiating a GnomePnpIds object, but didn't do anything with it. Given that this involves parsing the pnp.ids file, and thus implies IO, get rid of it.
Created attachment 233323 [details] [review] xrandr: Drop an unused object
Created attachment 233325 [details] [review] xrandr: Drop an unused object The code was instantiating a GnomePnpIds object, but didn't do anything with it. Given that this involves parsing the pnp.ids file, and thus implies IO, get rid of it.
Actually, it is used. Might want to add a comment to that effect. commit c9240e8b69c5833074508b46bc56307aac12ec19 Author: Bastien Nocera <hadess@hadess.net> Date: Wed Dec 19 15:31:22 2012 +0100 xrandr: Avoid the GnomePnpIds object being created multiple times It's a singleton, but GnomeRR is the only user here, so create one before we know it's going to be used multiple times to make sure only one instance is created at a time.
Added a comment in master.