From 4a5801b9020458cfaed4cd478c79d55839387d37 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 2 Mar 2016 15:20:47 -0500 Subject: [PATCH] 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 e3d61a94a5..911046bc90 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 12447e79f0..4b15c04028 100644 --- a/gtk/gtkcomboboxtext.c +++ b/gtk/gtkcomboboxtext.c @@ -74,15 +74,16 @@ * # CSS nodes * * |[ - * 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);