SF.net SVN: geany-plugins:[1218] trunk/geanylatex/src

frlan at users.sourceforge.net frlan at xxxxx
Sun Mar 28 10:31:37 UTC 2010


Revision: 1218
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1218&view=rev
Author:   frlan
Date:     2010-03-28 10:31:32 +0000 (Sun, 28 Mar 2010)

Log Message:
-----------
GeanyLaTeX: Fix multiple definition warning on linker time

Modified Paths:
--------------
    trunk/geanylatex/src/geanylatex.c
    trunk/geanylatex/src/geanylatex.h

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-03-28 10:22:45 UTC (rev 1217)
+++ trunk/geanylatex/src/geanylatex.c	2010-03-28 10:31:32 UTC (rev 1218)
@@ -87,6 +87,8 @@
 /* Configuration file */
 static gchar *config_file = NULL;
 
+LaTeXWizard glatex_wizard;
+
 PLUGIN_KEY_GROUP(geanylatex, COUNT_KB)
 
 const GtkActionEntry format_icons[] =

Modified: trunk/geanylatex/src/geanylatex.h
===================================================================
--- trunk/geanylatex/src/geanylatex.h	2010-03-28 10:22:45 UTC (rev 1217)
+++ trunk/geanylatex/src/geanylatex.h	2010-03-28 10:31:32 UTC (rev 1218)
@@ -78,7 +78,7 @@
 	gboolean draft_active;
 } LaTeXWizard;
 
-LaTeXWizard glatex_wizard;
+extern LaTeXWizard glatex_wizard;
 extern void glatex_insert_string(gchar *string, gboolean reset_position);
 gint glatex_count_menu_entries(SubMenuTemplate *tmp, gint categorie);
 void glatex_wizard_activated(G_GNUC_UNUSED GtkMenuItem * menuitem,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list