[gnome-builder/wip/gtk4-port: 29/94] code: use g_timeout_add()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 29/94] code: use g_timeout_add()
- Date: Mon, 28 Mar 2022 20:27:07 +0000 (UTC)
commit 75203e2d94e16cc1e3b818280713faf3e79657d1
Author: Christian Hergert <chergert redhat com>
Date: Thu Sep 23 16:33:53 2021 -0700
code: use g_timeout_add()
The GDK API has been removed in 4.x
src/libide/code/ide-buffer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/code/ide-buffer.c b/src/libide/code/ide-buffer.c
index c6371bfc9..f0dea3ece 100644
--- a/src/libide/code/ide-buffer.c
+++ b/src/libide/code/ide-buffer.c
@@ -2382,9 +2382,9 @@ ide_buffer_delay_settling (IdeBuffer *self)
g_assert (IDE_IS_BUFFER (self));
g_clear_handle_id (&self->settling_source, g_source_remove);
- self->settling_source = gdk_threads_add_timeout (SETTLING_DELAY_MSEC,
- ide_buffer_settled_cb,
- self);
+ self->settling_source = g_timeout_add (SETTLING_DELAY_MSEC,
+ ide_buffer_settled_cb,
+ self);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]