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.
This commit is contained in:
Benjamin Otte 2017-01-18 22:41:20 +01:00
parent 68824e80fd
commit f8b6831c98

View File

@ -92,6 +92,7 @@
#include "gdk/gdk.h"
#include "gdk/gdk-private.h"
#include "gsk/gskprivate.h"
#include <locale.h>
@ -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 ();