Commit 97a50432 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Plug leak.

2002-09-11  Morten Welinder  <terra@diku.dk>

	* src/plugin-service.c (plugin_service_ui_activate): Plug leak.
parent 5c7ba111
2002-09-11 Morten Welinder <terra@diku.dk>
* src/plugin-service.c (plugin_service_ui_activate): Plug leak.
* src/workbook-control-gui.c (wbcg_finalize): Plug leak.
* src/main-application.c (main): Shut down bonoboui for leak
......
2002-09-11 Morten Welinder <terra@diku.dk>
* src/plugin-service.c (plugin_service_ui_activate): Plug leak.
* src/workbook-control-gui.c (wbcg_finalize): Plug leak.
* src/main-application.c (main): Shut down bonoboui for leak
......
2002-09-11 Morten Welinder <terra@diku.dk>
* src/plugin-service.c (plugin_service_ui_activate): Plug leak.
* src/workbook-control-gui.c (wbcg_finalize): Plug leak.
* src/main-application.c (main): Shut down bonoboui for leak
......
......@@ -85,7 +85,7 @@ enum {
ARG_SHEET_CONTROL_GUI, /* The SheetControlGUI * argument */
ARG_STYLE, /* The style type */
ARG_BUTTON, /* The button used to drag this cursor around */
ARG_COLOR, /* The optional color */
ARG_COLOR /* The optional color */
};
static int
......
......@@ -1410,6 +1410,8 @@ plugin_service_ui_activate (PluginService *service, ErrorInfo **ret_error)
g_free (full_file_name);
xml_ui = bonobo_ui_node_to_string (uinode, TRUE);
bonobo_ui_node_free (uinode);
textdomain = gnm_plugin_get_textdomain (service->plugin);
service_ui->ui = register_xml_ui (
xml_ui, textdomain, service_ui->verbs, ui_verb_fn, service);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment