[gnome-settings-daemon] xrandr: Add reasoning for GnomePnpIds instantiation



commit b55264f036aaedb921393da124e73429ac40dcee
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jan 12 22:17:08 2013 +0100

    xrandr: Add reasoning for GnomePnpIds instantiation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691623

 plugins/xrandr/gsd-xrandr-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 4012933..69fed77 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1927,6 +1927,8 @@ apply_stored_configuration_at_startup (GsdXrandrManager *manager, guint32 timest
         char *intended_filename;
         GnomePnpIds *pnp_ids;
 
+        /* This avoids the GnomePnpIds object being created multiple times.
+         * See c9240e8b69c5833074508b46bc56307aac12ec19 */
         pnp_ids = gnome_pnp_ids_new ();
         backup_filename = gnome_rr_config_get_backup_filename ();
         intended_filename = gnome_rr_config_get_intended_filename ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]