From 5f4b5eb1fd30bfb08c1b1898264e696482a390cc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 1 Sep 2009 16:35:16 -0400 Subject: Better clarify callbacks table in EPluginUI. --- e-util/e-plugin-ui.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'e-util') diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c index 20ab27b319..c3b5b0df20 100644 --- a/e-util/e-plugin-ui.c +++ b/e-util/e-plugin-ui.c @@ -33,7 +33,7 @@ struct _EPluginUIHookPrivate { * For example: * * - * + * * ... UI definition ... * * @@ -42,7 +42,7 @@ struct _EPluginUIHookPrivate { * * g_hash_table_insert ( * ui_definitions, - * "org.gnome.evolution.sample", + * "org.gnome.evolution.foo", * "... UI definition ..."); * * See http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html @@ -69,6 +69,14 @@ struct _EPluginUIHookPrivate { * ... * * + * + * Results in: + * + * g_hash_table_insert ( + * callbacks, "org.gnome.evolution.foo", "init_foo"); + * + * g_hash_table_insert ( + * callbacks, "org.gnome.evolution.bar", "init_bar"); */ GHashTable *callbacks; -- cgit v1.2.3