[gtk+] toolbutton: Remove the word stock from internal docs



commit dc12dc4495e8f4019261a072535b689c249dc9ec
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 1 10:21:59 2017 -0500

    toolbutton: Remove the word stock from internal docs
    
    We no longer support stock items.

 gtk/gtktoolbutton.c |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 75558bd..4286a8e 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -176,23 +176,20 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
   /* Properties are interpreted like this:
    *
    *          - if the tool button has an icon_widget, then that widget
-   *            will be used as the icon. Otherwise, if the tool button
-   *            has a stock id, the corresponding stock icon will be
-   *            used. Otherwise, if the tool button has an icon name,
-   *            the corresponding icon from the theme will be used.
+   *            will be used as the icon. Otherwise, if the tool button has
+   *            an icon name, the corresponding icon from the theme will be used.
    *            Otherwise, the tool button will not have an icon.
    *
    *          - if the tool button has a label_widget then that widget
    *            will be used as the label. Otherwise, if the tool button
    *            has a label text, that text will be used as label. Otherwise,
-   *            if the toolbutton has a stock id, the corresponding text
-   *            will be used as label. Otherwise, if the tool button has
-   *            an icon name, the corresponding icon name from the theme will
-   *            be used. Otherwise, the toolbutton will have an empty label.
+   *            if the tool button has an icon name, the corresponding icon name
+   *            from the theme will be used. Otherwise, the toolbutton will have
+   *            an empty label.
    *
    *         - The use_underline property only has an effect when the label
    *            on the toolbutton comes from the label property (ie. not from
-   *            label_widget or from stock_id).
+   *            label_widget).
    *
    *            In that case, if use_underline is set,
    *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]