[gtk/wip/matthiasc/popup5: 138/139] node editor: Adapt to GtkNative
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 138/139] node editor: Adapt to GtkNative
- Date: Sun, 5 May 2019 22:20:55 +0000 (UTC)
commit 68640be1aacb4f8630ebd664f6551211a6b908b6
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 dc07f0a102..7059c48eb5 100644
--- a/demos/node-editor/node-editor-window.c
+++ b/demos/node-editor/node-editor-window.c
@@ -331,7 +331,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]