[gtk/wip/otte/widgetfactory-dnd: 1/2] widget-factory: Some new backgrounds
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/widgetfactory-dnd: 1/2] widget-factory: Some new backgrounds
- Date: Tue, 27 Jul 2021 02:41:10 +0000 (UTC)
commit 4453597946d725078127502c0e6ae28d5206462a
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jul 26 10:48:42 2021 -0400
widget-factory: Some new backgrounds
Snowy wasn't ideal because of the aspect ratio.
Replace it by beach and nyc.
demos/widget-factory/beach.jpg | Bin 0 -> 3333813 bytes
demos/widget-factory/nyc.jpg | Bin 0 -> 2555474 bytes
demos/widget-factory/snowy.jpg | Bin 3010078 -> 0 bytes
demos/widget-factory/widget-factory.c | 2 +-
demos/widget-factory/widget-factory.gresource.xml | 3 ++-
5 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/demos/widget-factory/beach.jpg b/demos/widget-factory/beach.jpg
new file mode 100644
index 0000000000..6966b4e0b6
Binary files /dev/null and b/demos/widget-factory/beach.jpg differ
diff --git a/demos/widget-factory/nyc.jpg b/demos/widget-factory/nyc.jpg
new file mode 100644
index 0000000000..7b6dda4412
Binary files /dev/null and b/demos/widget-factory/nyc.jpg differ
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 5b10ecdd74..8d62b89b0a 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1182,7 +1182,7 @@ populate_flowbox (GtkWidget *flowbox)
GtkWidget *child;
int i;
const char *resources[] = {
- "sunset.jpg", "snowy.jpg", "portland-rose.jpg"
+ "sunset.jpg", "portland-rose.jpg", "beach.jpg", "nyc.jpg"
};
if (GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (flowbox), "populated")))
diff --git a/demos/widget-factory/widget-factory.gresource.xml
b/demos/widget-factory/widget-factory.gresource.xml
index 8996428068..2af832c00f 100644
--- a/demos/widget-factory/widget-factory.gresource.xml
+++ b/demos/widget-factory/widget-factory.gresource.xml
@@ -115,7 +115,8 @@
<gresource prefix="/org/gtk/WidgetFactory4">
<file>gtk-logo.webm</file>
<file>sunset.jpg</file>
- <file>snowy.jpg</file>
<file>portland-rose.jpg</file>
+ <file>nyc.jpg</file>
+ <file>beach.jpg</file>
</gresource>
</gresources>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]