summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2020-11-19 19:30:54 +0200
committerUri Lublin <uril@redhat.com>2020-11-23 19:11:36 +0200
commitdf47365c32711bae5dfa163f8eba7b0f741326d6 (patch)
tree577258201d0278b46d3ba737a2eaa076edbc945e
parentbb4999f6e450aa1b1270ade7113966869fc4ed27 (diff)
mark_false_event_id is guint, assign 0 to it not FALSE
Signed-off-by: Uri Lublin <uril@redhat.com>
-rw-r--r--src/channel-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel-display.c b/src/channel-display.c
index 023baa1..f52ef12 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -1971,7 +1971,7 @@ static void display_handle_surface_create(SpiceChannel *channel, SpiceMsgIn *in)
create_canvas(channel, surface);
if (c->mark_false_event_id != 0) {
g_source_remove(c->mark_false_event_id);
- c->mark_false_event_id = FALSE;
+ c->mark_false_event_id = 0;
}
} else {
surface->primary = false;