[gnome-settings-daemon] xrandr: Correctly initialize GError



commit 3a44135795c23c42bbd243f37baff9b943e86a11
Author: Colin Walters <walters verbum org>
Date:   Fri Aug 23 14:20:58 2013 -0400

    xrandr: Correctly initialize GError
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706686

 plugins/xrandr/gsd-xrandr-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index ae6c862..570d228 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1303,7 +1303,7 @@ on_rr_screen_acquired (GObject      *object,
         GsdXrandrManager *manager = user_data;
         GError *error = NULL;
 
-        manager->priv->rw_screen = gnome_rr_screen_new_finish (result, NULL);
+        manager->priv->rw_screen = gnome_rr_screen_new_finish (result, &error);
 
         if (manager->priv->rw_screen == NULL) {
                 log_msg ("Could not initialize the RANDR plugin: %s\n",


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