mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
rendernode-extract: png files need .png extension
I had a lot of ttf files suddenly. And there was no text in the node.
This commit is contained in:
parent
33f0f2a2b1
commit
287b27dad3
@ -50,7 +50,7 @@ extract_texture (GskRenderNode *node)
|
||||
texture = gsk_texture_scale_node_get_texture (node);
|
||||
|
||||
do {
|
||||
filename = g_strdup_printf ("gtk-texture-%u.ttf", texture_count);
|
||||
filename = g_strdup_printf ("gtk-texture-%u.png", texture_count);
|
||||
path = g_build_path ("/", directory, filename, NULL);
|
||||
|
||||
if (!g_file_test (path, G_FILE_TEST_EXISTS))
|
||||
|
Loading…
Reference in New Issue
Block a user