Blame SOURCES/0001-local-display-factory-add-missing-comma-to-fix-user-.patch

2fc437
From 4b07f66e36bb00d022494c9118e4dc12921bce6d Mon Sep 17 00:00:00 2001
2fc437
From: Ray Strode <rstrode@redhat.com>
2fc437
Date: Mon, 3 Apr 2017 13:25:58 -0400
2fc437
Subject: [PATCH] local-display-factory: add missing comma to fix user
2fc437
 switching
2fc437
2fc437
commit 4b47633b36a22195e7976a8e597862eff695ca86 refactored some code
2fc437
and inadvertently dropped an important comma, which broke user
2fc437
switching.
2fc437
2fc437
This commit reintroduces the comma.
2fc437
2fc437
https://bugzilla.gnome.org/show_bug.cgi?id=780879
2fc437
---
2fc437
 daemon/gdm-local-display-factory.c | 2 +-
2fc437
 1 file changed, 1 insertion(+), 1 deletion(-)
2fc437
2fc437
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
2fc437
index 70987c71..7a4643d0 100644
2fc437
--- a/daemon/gdm-local-display-factory.c
2fc437
+++ b/daemon/gdm-local-display-factory.c
2fc437
@@ -192,61 +192,61 @@ store_display (GdmLocalDisplayFactory *factory,
2fc437
   /org/gnome/DisplayManager/Manager \
2fc437
   org.gnome.DisplayManager.Manager.GetDisplays
2fc437
 */
2fc437
 gboolean
2fc437
 gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *factory,
2fc437
                                                     char                  **id,
2fc437
                                                     GError                **error)
2fc437
 {
2fc437
         gboolean         ret;
2fc437
         GdmDisplay      *display = NULL;
2fc437
 
2fc437
         g_return_val_if_fail (GDM_IS_LOCAL_DISPLAY_FACTORY (factory), FALSE);
2fc437
 
2fc437
         ret = FALSE;
2fc437
 
2fc437
         g_debug ("GdmLocalDisplayFactory: Creating transient display");
2fc437
 
2fc437
 #ifdef ENABLE_USER_DISPLAY_SERVER
2fc437
         display = gdm_local_display_new ();
2fc437
 #else
2fc437
         if (display == NULL) {
2fc437
                 guint32 num;
2fc437
 
2fc437
                 num = take_next_display_number (factory);
2fc437
 
2fc437
                 display = gdm_legacy_display_new (num);
2fc437
         }
2fc437
 #endif
2fc437
 
2fc437
         g_object_set (display,
2fc437
-                      "seat-id", "seat0"
2fc437
+                      "seat-id", "seat0",
2fc437
                       "allow-timed-login", FALSE,
2fc437
                       NULL);
2fc437
 
2fc437
         store_display (factory, display);
2fc437
 
2fc437
         if (! gdm_display_manage (display)) {
2fc437
                 display = NULL;
2fc437
                 goto out;
2fc437
         }
2fc437
 
2fc437
         if (! gdm_display_get_id (display, id, NULL)) {
2fc437
                 display = NULL;
2fc437
                 goto out;
2fc437
         }
2fc437
 
2fc437
         ret = TRUE;
2fc437
  out:
2fc437
         /* ref either held by store or not at all */
2fc437
         g_object_unref (display);
2fc437
 
2fc437
         return ret;
2fc437
 }
2fc437
 
2fc437
 static void
2fc437
 on_display_status_changed (GdmDisplay             *display,
2fc437
                            GParamSpec             *arg1,
2fc437
                            GdmLocalDisplayFactory *factory)
2fc437
 {
2fc437
         int              status;
2fc437
         GdmDisplayStore *store;
2fc437
-- 
2fc437
2.12.0
2fc437