From: Matthias Clasen Date: Sun, 17 May 2020 01:54:14 +0000 (-0400) Subject: widget-factory: Cosmetics X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~17^2~24^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3035bf1e39f4f85c3499cf79860e89471ac8bd4f;p=gtk4.git widget-factory: Cosmetics Add a frame around the white background in the background selection dialog. Otherwise, it is not really visible. --- diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 493ae60af9..21ce18c572 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -1148,6 +1148,7 @@ populate_flowbox (GtkWidget *flowbox) pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 110, 70); gdk_pixbuf_fill (pixbuf, 0xffffffff); child = gtk_picture_new_for_pixbuf (pixbuf); + gtk_widget_add_css_class (child, "frame"); gtk_flow_box_insert (GTK_FLOW_BOX (flowbox), child, -1); for (i = 0; i < G_N_ELEMENTS (resources); i++)