summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/combo-box-entry-tool-item.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-06-12 12:59:26 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-06-12 12:59:26 +0000
commit8200c738febe26c4411bda939bb953b7302bbb6a (patch)
tree558eb26773b541653b6bdbad7a52e16461ce567e /src/ui/widget/combo-box-entry-tool-item.cpp
parentFix a bug changing desktop (diff)
downloadinkscape-8200c738febe26c4411bda939bb953b7302bbb6a.tar.gz
inkscape-8200c738febe26c4411bda939bb953b7302bbb6a.zip
Update comments to match reality.
Diffstat (limited to 'src/ui/widget/combo-box-entry-tool-item.cpp')
-rw-r--r--src/ui/widget/combo-box-entry-tool-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/combo-box-entry-tool-item.cpp b/src/ui/widget/combo-box-entry-tool-item.cpp
index 6268f6c0c..edab0804b 100644
--- a/src/ui/widget/combo-box-entry-tool-item.cpp
+++ b/src/ui/widget/combo-box-entry-tool-item.cpp
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * A subclass of GtkAction that wraps a GtkComboBoxEntry.
+ * A class derived from Gtk::ToolItem that wraps a GtkComboBoxEntry.
* Features:
* Setting GtkEntryBox width in characters.
* Passing a function for formatting cells.
@@ -606,7 +606,7 @@ ComboBoxEntryToolItem::match_selected_cb( GtkEntryCompletion* /*widget*/, GtkTre
// Set text in GtkEntry
gtk_entry_set_text (GTK_ENTRY (entry), family );
- // Set text in GtkAction
+ // Set text in ToolItem
g_free( action->_text );
action->_text = family;