From 2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Thu, 18 Jan 2018 23:24:59 +0100 Subject: avoid deprecated GtkStock --- pluma/pluma-panel.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pluma/pluma-panel.c') diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c index 19b312d3..cb2c437c 100644 --- a/pluma/pluma-panel.c +++ b/pluma/pluma-panel.c @@ -675,19 +675,19 @@ pluma_panel_add_item (PlumaPanel *panel, } /** - * pluma_panel_add_item_with_stock_icon: + * pluma_panel_add_item_with_icon: * @panel: a #PlumaPanel * @item: the #GtkWidget to add to the @panel * @name: the name to be shown in the @panel - * @stock_id: a stock id + * @icon_name: a icon name * - * Same as pluma_panel_add_item() but using an image from stock. + * Same as pluma_panel_add_item() but using an image from icon name. */ void -pluma_panel_add_item_with_stock_icon (PlumaPanel *panel, - GtkWidget *item, - const gchar *name, - const gchar *icon_name) +pluma_panel_add_item_with_icon (PlumaPanel *panel, + GtkWidget *item, + const gchar *name, + const gchar *icon_name) { GtkWidget *icon = NULL; -- cgit v1.2.1