diff --git a/gtk/meson.build b/gtk/meson.build index 2c77bdf08b..f6ba9942ce 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -291,7 +291,6 @@ gtk_sources = [ 'gtkrenderbackground.c', 'gtkrenderborder.c', 'gtkrendericon.c', - 'gtkresources.c', 'gtkrevealer.c', 'gtkroundedbox.c', 'gtkscale.c', @@ -387,6 +386,15 @@ gtk_unix_sources = [ 'gtksearchenginetracker.c', ] +gtkresources = gnome.compile_resources( + 'gtkresources', + 'gtk.gresource.xml', + source_dir: '.', + c_name: '_gtk', + extra_args: '--manual-register' +) + + gtk_x11_sources = [ 'gtkplug.c', 'gtksocket.c', @@ -420,6 +428,7 @@ gtk_sources = [ dnd_sources, inspector_sources, a11y_sources, + gtkresources ] gtk_deps = [