From f8b6831c98da5da13a17528ce44d01e84f750568 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 18 Jan 2017 22:41:20 +0100 Subject: [PATCH] gtk: Register GSK resources at startup That way they show up in the resource list in the inspector even when running with the Cairo renderer. --- gtk/gtkmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 31df09e907..6aaee9e287 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -92,6 +92,7 @@ #include "gdk/gdk.h" #include "gdk/gdk-private.h" +#include "gsk/gskprivate.h" #include @@ -652,6 +653,7 @@ do_post_parse_initialization (void) gtk_widget_set_default_direction (gtk_get_locale_direction ()); + gsk_ensure_resources (); _gtk_ensure_resources (); _gtk_accel_map_init ();