diff options
Diffstat (limited to 'demos/node-editor/node-editor-application.c')
-rw-r--r-- | demos/node-editor/node-editor-application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/node-editor/node-editor-application.c b/demos/node-editor/node-editor-application.c index 42a83e911a..10086e4937 100644 --- a/demos/node-editor/node-editor-application.c +++ b/demos/node-editor/node-editor-application.c @@ -201,7 +201,7 @@ node_editor_application_startup (GApplication *app) provider = gtk_css_provider_new (); - gtk_css_provider_load_from_data (provider, css, -1); + gtk_css_provider_load_from_string (provider, css); gtk_style_context_add_provider_for_display (gdk_display_get_default (), GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); |