+2008-01-14 Mathias Hasselmann <mathias@openismus.com>
+
+ Explain name choice for gtk_tool_item_toolbar_reconfigured.
+
+ * gtk/gtktoolitem.c: Add comment expaining name choice for
+ gtk_tool_item_toolbar_reconfigured.
+
2008-01-14 Mathias Hasselmann <mathias@openismus.com>
Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
void
gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item)
{
+ /* The slightely inaccurate name "gtk_tool_item_toolbar_reconfigured" was
+ * choosen over "gtk_tool_item_tool_shell_reconfigured", since the function
+ * emits the "toolbar-reconfigured" signal, not "tool-shell-reconfigured".
+ * Its not possible to rename the signal, and emitting another name than
+ * indicated by the function name would be quite confusing. That's the
+ * price of providing stable APIs.
+ */
g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item));
g_signal_emit (tool_item, toolitem_signals[TOOLBAR_RECONFIGURED], 0);