From 0428d8ccd6049e4424e7cb657859d4b2ae6b816a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 17 Sep 2021 04:10:56 +0200 Subject: [PATCH] examples: Use textures over pixbufs --- examples/bp/bloatpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bp/bloatpad.c b/examples/bp/bloatpad.c index 42d7b45f15..e923b444c9 100644 --- a/examples/bp/bloatpad.c +++ b/examples/bp/bloatpad.c @@ -603,8 +603,8 @@ bloat_pad_startup (GApplication *application) g_object_unref (icon); g_bytes_unref (bytes); - icon = G_ICON (gdk_pixbuf_new_from_resource ("/org/gtk/libgtk/icons/16x16/actions/folder-new.png", NULL)); - item = g_menu_item_new ("Pixbuf", NULL); + icon = G_ICON (gdk_texture_new_from_resource ("/org/gtk/libgtk/icons/16x16/actions/folder-new.png")); + item = g_menu_item_new ("Texture", NULL); g_menu_item_set_icon (item, icon); g_menu_append_item (menu, item); g_object_unref (item);