Commit dba842fa authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks

g_new0 the PluginInfo so the umpteen function pointers are NULL'd.

2001-01-26  Michael Meeks  <michael@helixcode.com>

	* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
	umpteen function pointers are NULL'd.
parent aaa709e0
2001-01-26 Michael Meeks <michael@helixcode.com>
* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
umpteen function pointers are NULL'd.
2001-01-25 Almer S. Tigelaar <almer1@dds.nl>
* src/workbook-control-priv.h: Remove insert struct, there
......
2001-01-26 Michael Meeks <michael@helixcode.com>
* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
umpteen function pointers are NULL'd.
2001-01-25 Almer S. Tigelaar <almer1@dds.nl>
* src/workbook-control-priv.h: Remove insert struct, there
......
2001-01-26 Michael Meeks <michael@helixcode.com>
* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
umpteen function pointers are NULL'd.
2001-01-25 Almer S. Tigelaar <almer1@dds.nl>
* src/workbook-control-priv.h: Remove insert struct, there
......
2001-01-26 Michael Meeks <michael@helixcode.com>
* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
umpteen function pointers are NULL'd.
2001-01-25 Almer S. Tigelaar <almer1@dds.nl>
* src/workbook-control-priv.h: Remove insert struct, there
......
2001-01-26 Michael Meeks <michael@helixcode.com>
* src/plugin.c (plugin_info_read): g_new0 the PluginInfo so the
umpteen function pointers are NULL'd.
2001-01-25 Almer S. Tigelaar <almer1@dds.nl>
* src/workbook-control-priv.h: Remove insert struct, there
......
2001-01-26 Michael Meeks <michael@helixcode.com>
* Makefile.am: Fix correctly.
2001-01-26 Michael Meeks <michael@helixcode.com>
* Makefile.am (gnum_gb_la_SOURCES): install plugin.xml
......
......@@ -3,8 +3,9 @@ INCLUDES = \
-I$(includedir) -I$(top_srcdir)/src \
$(GNOME_INCLUDEDIR) $(GB_CFLAGS)
gnumeric_plugin_LTLIBRARIES = gnum_gb.la
gnum_gbdir = $(gnumeric_plugindir)/gb
gnum_gb_DATA = plugin.xml
gnum_gb_LTLIBRARIES = gnum_gb.la
gnum_gb_la_LDFLAGS = -module -avoid-version
gnum_gb_la_SOURCES = \
......@@ -35,7 +36,4 @@ gnum_gb_la_LIBADD = \
$(EXTRA_GNOME_LIBS) \
-lm @GLIB_LIBS@ -lgb -lgbrun
gnumeric_plugin_gbdir = $(gnumeric_plugindir)/gb
gnumeric_plugin_gb_DATA = plugin.xml
EXTRA_DIST = README main.gba gnumeric.gbp
\ No newline at end of file
......@@ -236,7 +236,7 @@ plugin_info_read (const gchar *dir_name, xmlNodePtr tree, ErrorInfo **ret_error)
if (x_id != NULL && x_name != NULL && activation != PLUGIN_ACTIVATION_LAST) {
ErrorInfo *error;
pinfo = g_new (PluginInfo, 1);
pinfo = g_new0 (PluginInfo, 1);
pinfo->dir_name = g_strdup (dir_name);
pinfo->id = g_strdup (x_id);
pinfo->name = g_strdup (x_name);
......
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