[gnome-control-center/mwleeds/upstream-faces-fix] user-accounts: Fix ability to choose avatar




commit 912f434687124a1b9c204e8489002efe9055674a
Author: Andre Moreira Magalhaes <andre endlessm com>
Date:   Tue May 12 14:11:53 2020 -0300

    user-accounts: Fix ability to choose avatar
    
    Without this patch, the user cannot choose an avatar for themselves
    besides the default one; clicking on one doesn't have any effect.
    
    This is a fix for the commit "user-accounts: Use custom setting to
    override faces".
    
    This patch came from
    https://github.com/endlessm/gnome-control-center/pull/220

 panels/user-accounts/cc-avatar-chooser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/cc-avatar-chooser.c b/panels/user-accounts/cc-avatar-chooser.c
index d0d4e1bbe..44a1a2533 100644
--- a/panels/user-accounts/cc-avatar-chooser.c
+++ b/panels/user-accounts/cc-avatar-chooser.c
@@ -515,8 +515,8 @@ setup_photo_popup (CcAvatarChooser *self)
                                  self,
                                  NULL);
 
-        g_signal_connect_object (self->flowbox, "child-activated",
-                                 G_CALLBACK (face_widget_activated), self, G_CONNECT_SWAPPED);
+        g_signal_connect (self->flowbox, "child-activated",
+                          G_CALLBACK (face_widget_activated), self);
 
         settings_facesdirs = get_settings_facesdirs ();
 


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