summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes <andre@endlessm.com>2020-05-12 14:11:53 -0300
committerPhaedrus Leeds <matthew.leeds@endlessm.com>2020-08-27 15:16:02 -0700
commit912f434687124a1b9c204e8489002efe9055674a (patch)
tree9162cbb6e14bd63f78bba8ec1c75d3877fa154e6
parentae44f790c4a9d17b228432e397f52bd6ec3d0312 (diff)
downloadgnome-control-center-mwleeds/upstream-faces-fix.tar.gz
user-accounts: Fix ability to choose avatarmwleeds/upstream-faces-fix
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
-rw-r--r--panels/user-accounts/cc-avatar-chooser.c4
1 files 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 ();