[libgnomekbd: 5/6] Avoid deprecated GtkStock, use standard icon names instead
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd: 5/6] Avoid deprecated GtkStock, use standard icon names instead
- Date: Tue, 14 Jun 2022 11:27:08 +0000 (UTC)
commit a26231b38c4fee7648c51074f1c76073bf8be2ba
Author: Daniel Kahn Gillmor <dkg fifthhorseman net>
Date: Fri Apr 8 12:32:32 2022 -0700
Avoid deprecated GtkStock, use standard icon names instead
libgnomekbd/gkbd-indicator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgnomekbd/gkbd-indicator.c b/libgnomekbd/gkbd-indicator.c
index 1383cdc..b33b1da 100644
--- a/libgnomekbd/gkbd-indicator.c
+++ b/libgnomekbd/gkbd-indicator.c
@@ -413,7 +413,7 @@ gkbd_indicator_init (GkbdIndicator * gki)
gtk_notebook_set_show_border (notebook, FALSE);
def_drawing =
- gtk_image_new_from_stock (GTK_STOCK_STOP,
+ gtk_image_new_from_icon_name ("process-stop",
GTK_ICON_SIZE_BUTTON);
gtk_notebook_append_page (notebook, def_drawing,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]