Skip to content

Commit cfed84a

Browse files
committed
gtk3: Stop using pixdata resources
Using 'to-pixdata' in gresources has been deprecated since gdk-pixbuf version 2.32 [1]. Using it also requires having 'gdk-pixbuf-pixdata' command available on the build environment, which may be part of various different packages split from gdk-pixbuf depending on distribution, and is therefore difficult dependency to document. [1] https://developer-old.gnome.org/gio/unstable/GResource.html
1 parent 0effc8f commit cfed84a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/gtk-3.0/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ foreach variant : get_option('variants')
7777

7878
foreach asset : gtk3_asset_names
7979
gresource_xml_array += [
80-
'<file preprocess="to-pixdata">assets/' + asset + '.png</file>',
81-
'<file preprocess="to-pixdata">assets/' + asset + '@2.png</file>'
80+
'<file>assets/' + asset + '.png</file>',
81+
'<file>assets/' + asset + '@2.png</file>'
8282
]
8383
endforeach
8484

0 commit comments

Comments
 (0)