[gnome-settings-daemon] color: Fix incorrect return value
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: Fix incorrect return value
- Date: Fri, 14 Oct 2016 13:15:58 +0000 (UTC)
commit 2e5f509acb51300748e8d3bae307723cbae69f6c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Oct 14 02:03:33 2016 +0300
color: Fix incorrect return value
As introduced in 149e1cc
https://bugzilla.gnome.org/show_bug.cgi?id=772901
plugins/color/gsd-color-state.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/color/gsd-color-state.c b/plugins/color/gsd-color-state.c
index 25e25b3..8778a44 100644
--- a/plugins/color/gsd-color-state.c
+++ b/plugins/color/gsd-color-state.c
@@ -96,7 +96,7 @@ gcm_session_get_output_edid (GsdColorState *state, GnomeRROutput *output, GError
gnome_rr_output_get_name (output));
if (edid != NULL) {
g_object_ref (edid);
- return NULL;
+ return edid;
}
/* parse edid */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]