aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_gtk_namestore_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_gtk_namestore_srv.c')
-rw-r--r--src/namestore/plugin_gtk_namestore_srv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/namestore/plugin_gtk_namestore_srv.c b/src/namestore/plugin_gtk_namestore_srv.c
index ebd0603b..fb968e23 100644
--- a/src/namestore/plugin_gtk_namestore_srv.c
+++ b/src/namestore/plugin_gtk_namestore_srv.c
@@ -101,7 +101,7 @@ srv_validate (void *cls,
101/** 101/**
102 * Entry point for the plugin. 102 * Entry point for the plugin.
103 * 103 *
104 * @param cls the "struct GNUNET_GTK_NAMESTORE_PluginEnvironment*" 104 * @param cls the `struct GNUNET_GTK_NAMESTORE_PluginEnvironment`
105 * @return NULL on error, otherwise the plugin context 105 * @return NULL on error, otherwise the plugin context
106 */ 106 */
107void * 107void *
@@ -109,11 +109,15 @@ libgnunet_plugin_gtk_namestore_srv_init (void *cls)
109{ 109{
110 struct GNUNET_GTK_NAMESTORE_PluginEnvironment *env = cls; 110 struct GNUNET_GTK_NAMESTORE_PluginEnvironment *env = cls;
111 struct GNUNET_GTK_NAMESTORE_PluginFunctions *plugin; 111 struct GNUNET_GTK_NAMESTORE_PluginFunctions *plugin;
112 static struct GNUNET_GTK_NAMESTORE_Symbol symbols[] = {
113 { NULL, NULL }
114 };
112 115
113 plugin = GNUNET_new (struct GNUNET_GTK_NAMESTORE_PluginFunctions); 116 plugin = GNUNET_new (struct GNUNET_GTK_NAMESTORE_PluginFunctions);
114 plugin->cls = env; 117 plugin->cls = env;
115 plugin->dialog_glade_filename = "gnunet_namestore_edit_srv.glade"; 118 plugin->dialog_glade_filename = "gnunet_namestore_edit_srv.glade";
116 plugin->dialog_widget_name = "edit_a_dialog"; 119 plugin->dialog_widget_name = "edit_a_dialog";
120 plugin->symbols = symbols;
117 plugin->load = &srv_load; 121 plugin->load = &srv_load;
118 plugin->store = &srv_store; 122 plugin->store = &srv_store;
119 plugin->validate = &srv_validate; 123 plugin->validate = &srv_validate;