summaryrefslogtreecommitdiff
path: root/gdk/gdk.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-04-22 12:34:33 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2016-04-25 12:29:36 +0100
commit55537cccbd8129ed9fd3d00e8af07c05719516ac (patch)
tree73a1b55ca0e7931446c753347ce61668048b5162 /gdk/gdk.c
parentd7b5ea89eb7c103c67806b7d78a841a6c7048e90 (diff)
downloadgtk+-55537cccbd8129ed9fd3d00e8af07c05719516ac.tar.gz
gdk: Move GLSL shaders into GResource
Having the shaders inlined as C strings makes them harder to edit and maintain.
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index c9c353669e..d57502a55f 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -30,6 +30,8 @@
#include "gdkinternals.h"
#include "gdkintl.h"
+#include "gdkresources.h"
+
#include "gdk-private.h"
#ifndef HAVE_XCONVERTCASE
@@ -274,6 +276,8 @@ gdk_pre_parse (void)
gdk_initialized = TRUE;
+ _gdk_register_resource ();
+
/* We set the fallback program class here, rather than lazily in
* gdk_get_program_class, since we don't want -name to override it.
*/