[gnome-builder/wip/gtk4-port] code: remove dazzle usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] code: remove dazzle usage
- Date: Thu, 23 Sep 2021 23:33:58 +0000 (UTC)
commit a19a01d683513ea54d4ede8eb62f81ca81ba8c35
Author: Christian Hergert <chergert redhat com>
Date: Thu Sep 23 16:33:41 2021 -0700
code: remove dazzle usage
We don't need this for minimal damage anymore since we always do full
redraws with GTK and can cache the various render nodes.
src/libide/code/ide-buffer.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/libide/code/ide-buffer.c b/src/libide/code/ide-buffer.c
index 497496343..6f1310ee4 100644
--- a/src/libide/code/ide-buffer.c
+++ b/src/libide/code/ide-buffer.c
@@ -22,7 +22,6 @@
#include "config.h"
-#include <dazzle.h>
#include <glib/gi18n.h>
#include <libide-io.h>
#include <libide-plugins.h>
@@ -2453,19 +2452,19 @@ ide_buffer_clear_diagnostics (IdeBuffer *self)
table = gtk_text_buffer_get_tag_table (GTK_TEXT_BUFFER (self));
if (NULL != (tag = gtk_text_tag_table_lookup (table, TAG_NOTE)))
- dzl_gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end, TRUE);
+ gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end);
if (NULL != (tag = gtk_text_tag_table_lookup (table, TAG_WARNING)))
- dzl_gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end, TRUE);
+ gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end);
if (NULL != (tag = gtk_text_tag_table_lookup (table, TAG_DEPRECATED)))
- dzl_gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end, TRUE);
+ gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end);
if (NULL != (tag = gtk_text_tag_table_lookup (table, TAG_UNUSED)))
- dzl_gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end, TRUE);
+ gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end);
if (NULL != (tag = gtk_text_tag_table_lookup (table, TAG_ERROR)))
- dzl_gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end, TRUE);
+ gtk_text_buffer_remove_tag (GTK_TEXT_BUFFER (self), tag, &begin, &end);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]