summaryrefslogtreecommitdiff
path: root/pluma/pluma-panel.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-18 23:24:59 +0100
committerraveit65 <[email protected]>2018-02-08 21:34:17 +0100
commit2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e (patch)
tree136751a6809f3f9dc590c4fc8f0a588e7e86e190 /pluma/pluma-panel.c
parent29d362e10ff63935fa1ecc12a0156b43fd3c11b9 (diff)
downloadpluma-2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e.tar.bz2
pluma-2217a021ca5c5ac918dd6e41c4ef29435b5a6b8e.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'pluma/pluma-panel.c')
-rw-r--r--pluma/pluma-panel.c14
1 files changed, 7 insertions, 7 deletions
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;