[gtk/svg-demo: 1/2] gtk-demo: Recognize .svg as images
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/svg-demo: 1/2] gtk-demo: Recognize .svg as images
- Date: Tue, 6 Oct 2020 19:13:39 +0000 (UTC)
commit 25cbc1a15a028feb404405854add02974544c203
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 6 15:11:08 2020 -0400
gtk-demo: Recognize .svg as images
We can't guarantee that we can load it, but worst
case you'll get a missing image.
demos/gtk-demo/main.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index db66928c88..84efebba41 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -410,6 +410,7 @@ static struct {
{ ".gif", NULL, display_image },
{ ".jpg", NULL, display_image },
{ ".png", NULL, display_image },
+ { ".svg", NULL, display_image },
{ ".c", "c", display_text },
{ ".css", "css", display_text },
{ ".glsl", NULL, display_text },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]