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
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user