[gnome-color-manager] trivial: Fix gcm-dump-edid by including the screen assign



commit 1e175c9b09c6f567143845041b0f9812610022cf
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 22 09:46:28 2010 +0100

    trivial: Fix gcm-dump-edid by including the screen assign

 tools/gcm-dump-edid.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/gcm-dump-edid.c b/tools/gcm-dump-edid.c
index c04cf03..0837a1e 100644
--- a/tools/gcm-dump-edid.c
+++ b/tools/gcm-dump-edid.c
@@ -159,6 +159,7 @@ main (int argc, char **argv)
 
 	/* coldplug devices */
 	screen = gcm_x11_screen_new ();
+	gcm_x11_screen_assign (screen, NULL, NULL);
 	outputs = gcm_x11_screen_get_outputs (screen, &error);
 	if (outputs == NULL) {
 		g_print ("Failed to get outputs: %s\n", error->message);



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