diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-10-10 17:43:01 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-10-10 17:54:15 +0200 |
commit | bc892b67c9f900c7ee848b29da07b686897d6aa9 (patch) | |
tree | 3e6fb0cb8b04f450257c09e6ce053d70b093e357 /m4/warnings.m4 | |
parent | 05175fa45cde61328ef119b917f8e744d07692fc (diff) | |
download | spice-gtk-bc892b67c9f900c7ee848b29da07b686897d6aa9.tar.gz spice-gtk-bc892b67c9f900c7ee848b29da07b686897d6aa9.tar.xz spice-gtk-bc892b67c9f900c7ee848b29da07b686897d6aa9.zip |
gtk-session: avoid mainloop recursion in clipboard_get
clipboard_get() exits when the clipboard data is received, or when the
agent connection state change. However, if the agent is already
disconnected, neither of those 2 conditions can be reached.
Check if the agent is connected before running loop, exit early if not.
Diffstat (limited to 'm4/warnings.m4')
0 files changed, 0 insertions, 0 deletions