[gtk/wip/otte/widgetfactory-dnd] widget-factory: Some new backgrounds



commit aea41a73bb3d2f6db6bdd8bea2ec119809479827
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 7d49469fe1..0c4b21c81c 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1213,7 +1213,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]