summaryrefslogtreecommitdiff
path: root/demos/node-editor/node-editor-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/node-editor/node-editor-window.c')
-rw-r--r--demos/node-editor/node-editor-window.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/demos/node-editor/node-editor-window.c b/demos/node-editor/node-editor-window.c
index 73cf2b06ec..ff536d60ca 100644
--- a/demos/node-editor/node-editor-window.c
+++ b/demos/node-editor/node-editor-window.c
@@ -102,12 +102,11 @@ text_buffer_remove_all_tags (GtkTextBuffer *buffer)
}
static void
-deserialize_error_func (const GtkCssSection *section,
- const GError *error,
- gpointer user_data)
+deserialize_error_func (const GskParseLocation *start_location,
+ const GskParseLocation *end_location,
+ const GError *error,
+ gpointer user_data)
{
- const GtkCssLocation *start_location = gtk_css_section_get_start_location (section);
- const GtkCssLocation *end_location = gtk_css_section_get_end_location (section);
NodeEditorWindow *self = user_data;
GtkTextIter start_iter, end_iter;
TextViewError text_view_error;