[gnome-settings-daemon] wacom: Another g_object_ref on GnomeRROutput



commit b59a41f00f5dfe54681ad7688bcd9946ae3d9d21
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jun 27 11:40:55 2012 +0200

    wacom: Another g_object_ref on GnomeRROutput
    
    causing a crash on screen tablets in find_builtin_output()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678872

 plugins/wacom/gsd-wacom-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 7cc60f8..6390b0b 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -558,7 +558,7 @@ find_builtin_output (GnomeRRScreen *rr_screen)
 			continue;
 
 		if (gnome_rr_output_is_laptop(rr_outputs[i])) {
-			retval = g_object_ref (rr_outputs[i]);
+			retval = rr_outputs[i];
 			break;
 		}
 	}



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