[gtk+] combobox: Correct the CSS node docs



commit 4a5801b9020458cfaed4cd478c79d55839387d37
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 2 15:20:47 2016 -0500

    combobox: Correct the CSS node docs
    
    The box was somehow overlooked in the diagrams.

 gtk/gtkcombobox.c     |    8 +++++---
 gtk/gtkcomboboxtext.c |   11 ++++++-----
 2 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index e3d61a9..911046b 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -95,8 +95,9 @@
  * combobox
  * ├── box.linked
  * │   ╰── button.combo
- * │       ├── cellview
- * │       ╰── arrow
+ * │       ╰── box
+ * │           ├── cellview
+ * │           ╰── arrow
  * ╰── window.popup
  * ]|
  *
@@ -109,7 +110,8 @@
  * ├── box.linked
  * │   ├── entry.combo
  * │   ╰── button.combo
- * │       ╰── arrow
+ * │       ╰── box
+ * │           ╰── arrow
  * ╰── window.popup
  * ]|
  *
diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c
index 12447e7..4b15c04 100644
--- a/gtk/gtkcomboboxtext.c
+++ b/gtk/gtkcomboboxtext.c
@@ -74,15 +74,16 @@
  * # CSS nodes
  *
  * |[<!-- language="plain" -->
- * combobox.linked
- * ├── entry.combo
- * ├── button.combo
- * ╰── window.popup
+ * combobox
+ * ╰── box.linked
+ *     ├── entry.combo
+ *     ├── button.combo
+ *     ╰── window.popup
  * ]|
  *
  * GtkComboBoxText has a single CSS node with name combobox. It adds
  * the style class .combo to the main CSS nodes of its entry and button
- * children, and the .linked class to the main node.
+ * children, and the .linked class to the node of its internal box.
  */
 
 static void     gtk_combo_box_text_buildable_interface_init     (GtkBuildableIface *iface);


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