sharing: Prevent an endless loop and resulting stack overflow
authorRui Matos <tiagomatos@gmail.com>
Mon, 10 Nov 2014 14:06:52 +0000 (15:06 +0100)
committerAndreas Henriksson <andreas@fatal.se>
Thu, 5 Feb 2015 18:44:41 +0000 (18:44 +0000)
commit46030159b8ba282b5df74deca6c36a77b4f46a85
tree7ff6a575df539b4a09c8168578aac0a5f6b02df5
parentee76aeac01ba83f5ce612d5e281a34b814c3f43b
sharing: Prevent an endless loop and resulting stack overflow

We need to block ourselves around the gtk_switch_set_active() call in
the error path, when we can't speak to the sharing dbus service, or we
end up in an endless loop since we're the ::state-set handler.

https://bugzilla.gnome.org/show_bug.cgi?id=739886

Gbp-Pq: Name 30_stack_overflow.patch
panels/sharing/cc-sharing-networks.c