From 7027d8fc16020302042ff4794570f8f2f4d7def1 Mon Sep 17 00:00:00 2001 From: Mathias Hasselmann Date: Mon, 14 Jan 2008 00:12:53 +0000 Subject: [PATCH] Explain name choice for gtk_tool_item_toolbar_reconfigured. * gtk/gtktoolitem.c: Add comment expaining name choice for gtk_tool_item_toolbar_reconfigured. svn path=/trunk/; revision=19362 --- ChangeLog | 7 +++++++ gtk/gtktoolitem.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0ae3389af..88f4d30ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-14 Mathias Hasselmann + + 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 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index debda8798..d86097ae9 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -1179,6 +1179,13 @@ gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item, 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); -- 2.43.2