forked from AuroraMiddleware/gtk
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:
parent
68824e80fd
commit
f8b6831c98
@ -92,6 +92,7 @@
|
|||||||
|
|
||||||
#include "gdk/gdk.h"
|
#include "gdk/gdk.h"
|
||||||
#include "gdk/gdk-private.h"
|
#include "gdk/gdk-private.h"
|
||||||
|
#include "gsk/gskprivate.h"
|
||||||
|
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
||||||
@ -652,6 +653,7 @@ do_post_parse_initialization (void)
|
|||||||
|
|
||||||
gtk_widget_set_default_direction (gtk_get_locale_direction ());
|
gtk_widget_set_default_direction (gtk_get_locale_direction ());
|
||||||
|
|
||||||
|
gsk_ensure_resources ();
|
||||||
_gtk_ensure_resources ();
|
_gtk_ensure_resources ();
|
||||||
|
|
||||||
_gtk_accel_map_init ();
|
_gtk_accel_map_init ();
|
||||||
|
Loading…
Reference in New Issue
Block a user