summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 19:28:53 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 22:20:49 -0400
commit02c793f24aa0a967473da48c5ff207c75ec2f413 (patch)
tree2cc7daa15b51d016805f5de546a447624e94cca6 /gtk/gtktoolpalette.c
parent2b571f41e2cfc4230871624c1a784bb112d85538 (diff)
downloadgtk+-02c793f24aa0a967473da48c5ff207c75ec2f413.tar.gz
Start migrating internals away from GtkStock
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r--gtk/gtktoolpalette.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index a5790531ef..7d29f81b0a 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -61,7 +61,8 @@
* group = gtk_tool_item_group_new (_("Test Category"));
* gtk_container_add (GTK_CONTAINER (palette), group);
*
- * item = gtk_tool_button_new_from_stock (GTK_STOCK_OK);
+ * item = gtk_tool_button_new_new (NULL, _("_Open"));
+ * gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "document-open");
* gtk_tool_item_group_insert (GTK_TOOL_ITEM_GROUP (group), item, -1);
* ]|
*