[glade] Stop defaulting missing images to deprecated stock icons
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Stop defaulting missing images to deprecated stock icons
- Date: Wed, 13 Mar 2019 23:07:10 +0000 (UTC)
commit d857fc2fd0003ccc4bf1bdc670e9a573a674c9ab
Author: Martin Blanchard <tchaik gmx com>
Date: Tue Mar 12 00:05:49 2019 +0000
Stop defaulting missing images to deprecated stock icons
GTK_STOCK_MISSING_IMAGE/"gtk-missing-image" has been deprecated for a
while now and Adwaita does not ship it anymore under that name. Better
prefer the new "image-missing" replacement.
gladeui/glade-widget-adaptor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gladeui/glade-widget-adaptor.c b/gladeui/glade-widget-adaptor.c
index fb7babc4..fb452009 100644
--- a/gladeui/glade-widget-adaptor.c
+++ b/gladeui/glade-widget-adaptor.c
@@ -617,7 +617,7 @@ glade_widget_adaptor_constructor (GType type,
/* Build decorations */
if (!adaptor->priv->icon_name)
- adaptor->priv->icon_name = g_strdup ("gtk-missing-image");
+ adaptor->priv->icon_name = g_strdup ("image-missing");
/* Let it leek */
if ((object_class = g_type_class_ref (adaptor->priv->type)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]