[gtk/wip/matthiasc/popup5: 104/124] node editor: Adapt to GtkNative
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 104/124] node editor: Adapt to GtkNative
- Date: Sun, 19 May 2019 03:51:39 +0000 (UTC)
commit 110bcb85a78e1ada6dd1794688081ca65b76b749
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 5 20:35:00 2019 +0000
node editor: Adapt to GtkNative
demos/node-editor/node-editor-window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/node-editor/node-editor-window.c b/demos/node-editor/node-editor-window.c
index 1b853d4984..b6f66eaf98 100644
--- a/demos/node-editor/node-editor-window.c
+++ b/demos/node-editor/node-editor-window.c
@@ -465,7 +465,7 @@ create_texture (NodeEditorWindow *self)
return NULL;
/* ahem */
- renderer = GTK_ROOT_GET_IFACE (gtk_widget_get_root (GTK_WIDGET (self)))->get_renderer (gtk_widget_get_root
(GTK_WIDGET (self)));
+ renderer = GTK_NATIVE_GET_IFACE (gtk_widget_get_native (GTK_WIDGET (self)))->get_renderer
(gtk_widget_get_native (GTK_WIDGET (self)));
texture = gsk_renderer_render_texture (renderer, node, NULL);
gsk_render_node_unref (node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]