summaryrefslogtreecommitdiff
path: root/chooser/gdm-host-chooser-widget.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2017-03-31 15:11:03 -0400
committerRay Strode <rstrode@redhat.com>2017-03-31 17:22:17 -0400
commit9dbebda6073e5235d9a4ba7832af914131ab9310 (patch)
treeaebc1609cf4edd69e74cdae14b8c51b3e11375c3 /chooser/gdm-host-chooser-widget.c
parent15c8b63b02aad48749fd7b55cb6dc5eae25d84c0 (diff)
downloadgdm-9dbebda6073e5235d9a4ba7832af914131ab9310.tar.gz
chooser: fix duplicate entry in the list
https://bugzilla.gnome.org/show_bug.cgi?id=780787
Diffstat (limited to 'chooser/gdm-host-chooser-widget.c')
-rw-r--r--chooser/gdm-host-chooser-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chooser/gdm-host-chooser-widget.c b/chooser/gdm-host-chooser-widget.c
index f9200aa0..b8924618 100644
--- a/chooser/gdm-host-chooser-widget.c
+++ b/chooser/gdm-host-chooser-widget.c
@@ -273,8 +273,8 @@ decode_packet (GIOChannel *source,
/* server changed it's mind */
if (header.opcode == WILLING
&& ! gdm_chooser_host_get_willing (chooser_host)) {
- g_object_set (chooser_host, "willing", TRUE, NULL);
browser_add_host (widget, chooser_host);
+ g_object_set (chooser_host, "willing", TRUE, NULL);
}
/* FIXME: handle unwilling? */
}