[gnome-builder] code: use tag from define
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code: use tag from define
- Date: Tue, 21 Jan 2020 19:23:49 +0000 (UTC)
commit e9873f60f760e88ec6af2a84514da530294b31ba
Author: Christian Hergert <chergert redhat com>
Date: Tue Jan 21 11:23:54 2020 -0800
code: use tag from define
src/libide/code/ide-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/code/ide-buffer.c b/src/libide/code/ide-buffer.c
index 33cb5e698..d2dfe2486 100644
--- a/src/libide/code/ide-buffer.c
+++ b/src/libide/code/ide-buffer.c
@@ -3141,7 +3141,7 @@ ide_buffer_on_tag_added (IdeBuffer *self,
g_assert (GTK_IS_TEXT_TAG_TABLE (table));
/* Adjust priority of our tab-stop tag. */
- chunk_tag = gtk_text_tag_table_lookup (table, "snippet::tab-stop");
+ chunk_tag = gtk_text_tag_table_lookup (table, TAG_SNIPPET_TAB_STOP);
if (chunk_tag != NULL)
gtk_text_tag_set_priority (chunk_tag,
gtk_text_tag_table_get_size (table) - 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]