[grisbi-cvs] [SCM] grisbi branch, grisbi-1.0.x, updated. upstream_version_0_9_90-18-g4bf0447

Rémi Cardona nobody at users.sourceforge.net
Sun Jan 6 10:05:08 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, grisbi-1.0.x has been updated
       via  4bf044749da997b43875c076c8478e0a67f287d5 (commit)
       via  74e2d9559880fb4e217a5070860a1318528d4606 (commit)
       via  303c9d788dbe2b0b386bee6b5f2f7ac8993549a8 (commit)
       via  6d59d905ecea41979f4be0fba4c505bdee489fc6 (commit)
       via  6562481e8e2681247b98a8461773f73104a6a12d (commit)
       via  c37ab104175cedf191133e564d1360669c70f64e (commit)
       via  c694029bc7f1d5202f6477c15cea40433e899650 (commit)
       via  01d9893d1985baaa5cf6ddb5238aae9ae3407934 (commit)
       via  ca4259e50aac25f3a123c31af4d4f60d4d1fae9d (commit)
       via  a27384a31d8bd6e165ec654275b6fd4bf590f7c8 (commit)
       via  af14f10706f343174f73785f4dd52f4c5a48a110 (commit)
       via  d923bc120f093c0c621e9fee62a7c3e71fa45450 (commit)
       via  8d89f2c372c96cfdab377aa465bb82c11dbd6a76 (commit)
       via  fc0b9526a725b374cb18d6b27a2588acd8a7e9ed (commit)
       via  de536ebadfe70d3ad43d9635812a54cea7a3467e (commit)
       via  f2c913c83d1a2f37cfd449ea44835cf33fee8fcb (commit)
       via  570cd27a2f4d3428e0b346d2690d4c8c8e2aa729 (commit)
      from  896ae2ece55484763fe0fc9addd0a2e07000ad86 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4bf044749da997b43875c076c8478e0a67f287d5
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sun Jan 6 09:09:22 2013 +0100

    Fix memory leak in efface_etat()

commit 74e2d9559880fb4e217a5070860a1318528d4606
Author: Rémi Cardona <remi at gentoo.org>
Date:   Thu Jan 3 00:20:19 2013 +0100

    Fix memory leak in make_pango_attribut()

commit 303c9d788dbe2b0b386bee6b5f2f7ac8993549a8
Author: Rémi Cardona <remi at gentoo.org>
Date:   Tue Jan 1 12:30:29 2013 +0100

    Drop dead code in OpenSSL support
    
    Reuse the better error messages

commit 6d59d905ecea41979f4be0fba4c505bdee489fc6
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 19:09:56 2012 +0100

    Remove unused plugin-loading related defines

commit 6562481e8e2681247b98a8461773f73104a6a12d
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 17:59:07 2012 +0100

    Kill remaining plugins code

commit c37ab104175cedf191133e564d1360669c70f64e
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 17:43:09 2012 +0100

    Turn the OpenSSL plugin into regular code

commit c694029bc7f1d5202f6477c15cea40433e899650
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 15:59:53 2012 +0100

    Turn the OFX and GnuCash plugins into regular code

commit 01d9893d1985baaa5cf6ddb5238aae9ae3407934
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 15:38:14 2012 +0100

    Remove useless "import_function" typedef

commit ca4259e50aac25f3a123c31af4d4f60d4d1fae9d
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 15:37:47 2012 +0100

    Fix OFX import function prototype
    
    NB: the return values are bogus, they're never used anywhere

commit a27384a31d8bd6e165ec654275b6fd4bf590f7c8
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 15:34:48 2012 +0100

    Make ofx_plugin_run() a dummy function as it's never called

commit af14f10706f343174f73785f4dd52f4c5a48a110
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 14:15:10 2012 +0100

    Move ofx related defines to where they are used

commit d923bc120f093c0c621e9fee62a7c3e71fa45450
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 12:50:16 2012 +0100

    Replace run-time plugin listing with build-time list of enabled extensions

commit 8d89f2c372c96cfdab377aa465bb82c11dbd6a76
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sun Dec 30 02:57:13 2012 +0100

    Remove all traces of GModule support

commit fc0b9526a725b374cb18d6b27a2588acd8a7e9ed
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sun Dec 30 02:25:09 2012 +0100

    Remove gsb_dirs_get_plugins_dir()

commit de536ebadfe70d3ad43d9635812a54cea7a3467e
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 11:15:05 2012 +0100

    Remove ENABLE_STATIC conditional

commit f2c913c83d1a2f37cfd449ea44835cf33fee8fcb
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 11:15:22 2012 +0100

    Remove HAVE_PLUGINS conditional

commit 570cd27a2f4d3428e0b346d2690d4c8c8e2aa729
Author: Rémi Cardona <remi at gentoo.org>
Date:   Mon Dec 31 11:21:54 2012 +0100

    Only link to and enable correct plugins when building statically

-----------------------------------------------------------------------

Changes:
diff --git a/configure.in b/configure.in
index ea83ce0..7382a5b 100644
--- a/configure.in
+++ b/configure.in
@@ -58,44 +58,12 @@ LT_LIB_M
 
 #PKG_CHECK_MODULES(GRISBI, [gtk+-2.0 >= 2.2.0 glib-2.0 >= 2.2 gmodule-2.0 >= 2.2 zlib])
 # Temporary hack until Mandriva ships zlib.pc
-PKG_CHECK_MODULES(GRISBI, [gtk+-2.0 >= 2.12.0 glib-2.0 >= 2.18.0 gmodule-2.0 >= 2.18.0])
+PKG_CHECK_MODULES(GRISBI, [gtk+-2.0 >= 2.12.0 glib-2.0 >= 2.18.0])
 GRISBI_LIBS="$LIBM $GRISBI_LIBS -lz"
 AC_SUBST(GRISBI_LIBS)
 # </hack>
 
 dnl ================================================================
-dnl Plugin support using glib's GModule
-dnl ================================================================
-
-AC_ARG_WITH(plugins,
-	AS_HELP_STRING([--with-plugins],[support plugins (default=auto)]),
-	[build_plugins=$withval],
-	[build_plugins=auto])
-
-AC_MSG_CHECKING(whether GLib supports loadable modules)
-gmodule_supported=`$PKG_CONFIG gmodule-2.0 --variable gmodule_supported`
-if test "$gmodule_supported" = true ; then
-	have_plugins=yes
-else
-	have_plugins=no
-fi
-AC_MSG_RESULT($have_plugins)
-
-if test "$have_plugins" = no -a "$build_plugins" = yes; then
-	AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
-fi
-if test "$build_plugins" != no; then
-	build_plugins=$have_plugins
-else
-	build_plugins=no
-fi
-if test "$build_plugins" = yes; then
-	AC_DEFINE(HAVE_PLUGINS, 1, [Define if plugins are enabled])
-fi
-AM_CONDITIONAL(HAVE_PLUGINS, [test "$build_plugins" = yes])
-AC_SUBST(plugindir,[$\(libdir\)/$\(PACKAGE\)])
-
-dnl ================================================================
 dnl XML2
 dnl ================================================================
 
@@ -113,8 +81,8 @@ if test "$build_libxml2" != no; then
 else
 	build_libxml2=no
 fi
-if test "$build_libxml2" = no; then
-	AC_DEFINE(NOXML2, 1, [Define if libxml2 support is disabled])
+if test "$build_libxml2" = yes; then
+	AC_DEFINE(HAVE_XML2, 1, [Define if libxml2 support is enabled])
 fi
 AM_CONDITIONAL(HAVE_XML2, [test "$build_libxml2" = yes])
 
@@ -309,21 +277,6 @@ else
 fi
 
 dnl ================================================================
-dnl Static or Shared plugins support
-dnl ================================================================
-
-AC_ARG_ENABLE(static-plugins,
-	AS_HELP_STRING(
-		[--enable-static-plugins],
-		[Statically build all plugins inside the main binary (default=no)]),
-	enable_static=$enableval,
-	enable_static=no)
-if test "$enable_static" = yes; then
-	AC_DEFINE(ENABLE_STATIC, 1, [Statically build all plugins inside the main binary])
-fi
-AM_CONDITIONAL(ENABLE_STATIC, [test "$enable_static" = yes])
-
-dnl ================================================================
 dnl Makefiles
 dnl ================================================================
 
@@ -358,12 +311,10 @@ AC_OUTPUT
 
 echo "
 
-                Build plugin support:      $build_plugins
                 Build with libxml2:        $build_libxml2
                 Build with OpenSSL:        $build_openssl
                 Build with OFX plugin:     $build_ofx
                 Build with goffice:        $build_goffice
-                Build plugins statically:  $enable_static
                 Build gtk_mac_integration: $os_osx
                 CUnit/unit tests support:  $build_cunit
 
diff --git a/src/Makefile.am b/src/Makefile.am
index b58bdfb..653eaaf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 # Process this file with automake to produce Makefile.in
 
-AM_CPPFLAGS = -I$(top_srcdir) $(GRISBI_CFLAGS) $(GTK_MAC_CFLAGS) -DLOCALEDIR=\"$(localedir)\" -DPIXMAPS_DIR="\"$(datadir)/pixmaps/@PACKAGE@\"" -DPLUGINS_DIR="\"$(plugindir)\"" -DLOGO_PATH="\"$(datadir)/pixmaps/@PACKAGE@/grisbi-logo.png\"" -DDATA_PATH="\"$(datadir)/@PACKAGE@\"" -DHELP_PATH="\"$(docdir)\"" -DUI_DIR="\"$(datadir)/@PACKAGE@/ui\""
+AM_CPPFLAGS = -I$(top_srcdir) $(GRISBI_CFLAGS) $(GTK_MAC_CFLAGS) -DLOCALEDIR=\"$(localedir)\" -DPIXMAPS_DIR="\"$(datadir)/pixmaps/@PACKAGE@\"" -DLOGO_PATH="\"$(datadir)/pixmaps/@PACKAGE@/grisbi-logo.png\"" -DDATA_PATH="\"$(datadir)/@PACKAGE@\"" -DHELP_PATH="\"$(docdir)\"" -DUI_DIR="\"$(datadir)/@PACKAGE@/ui\""
 
 if HAVE_GOFFICE
 AM_CPPFLAGS += $(GOFFICE_CFLAGS)
@@ -12,14 +12,17 @@ noinst_LTLIBRARIES = libgrisbi.la
 grisbi_LDADD = $(GRISBI_LIBS) $(GTK_MAC_LIBS) libgrisbi.la
 
 libgrisbi_la_LIBADD =
-if ENABLE_STATIC
-libgrisbi_la_LIBADD += \
-	plugins/gnucash/gnucash.la \
-	plugins/ofx/ofx.la \
-	plugins/openssl/openssl.la
-else
-libgrisbi_la_LDFLAGS = -export_dynamic
+
+if HAVE_XML2
+libgrisbi_la_LIBADD += plugins/gnucash/gnucash.la
+endif
+if HAVE_OFX
+libgrisbi_la_LIBADD += plugins/ofx/ofx.la
+endif
+if HAVE_SSL
+libgrisbi_la_LIBADD += plugins/openssl/openssl.la
 endif
+
 libgrisbi_la_LIBADD += $(GRISBI_LIBS) $(GTK_MAC_LIBS)
 
 if HAVE_GOFFICE
@@ -113,7 +116,6 @@ libgrisbi_la_SOURCES = \
 	gsb_locale.c	\
 	gsb_payment_method.c	\
 	gsb_payment_method_config.c	\
-	gsb_plugins.c		\
 	gsb_real.c		\
 	gsb_reconcile.c		\
 	gsb_reconcile_config.c	\
@@ -256,7 +258,6 @@ libgrisbi_la_SOURCES = \
 	gsb_locale.h	\
 	gsb_payment_method.h	\
 	gsb_payment_method_config.h	\
-	gsb_plugins.h           \
 	gsb_real.h		\
 	gsb_reconcile.h		\
 	gsb_reconcile_config.h	\
@@ -324,7 +325,7 @@ grisbi_SOURCES = 		\
 	main.c				\
 	main.h
 
-SUBDIRS = ui
+SUBDIRS = ui plugins/gnucash plugins/ofx plugins/openssl
 
 if HAVE_CUNIT
 SUBDIRS += tests
@@ -335,10 +336,6 @@ EXTRA_DIST = grisbi.keys grisbi.mime
 mimedir = $(datadir)/mime-info
 mime_DATA = grisbi.keys grisbi.mime
 
-if HAVE_PLUGINS
-SUBDIRS += plugins/gnucash plugins/ofx plugins/openssl
-endif
-
 ALLHEADERS := $(filter %.h,$(libgrisbi_la_SOURCES) $(grisbi_SOURCES))
 
 checkheaders: $(ALLHEADERS:.h=.ho)
diff --git a/src/dialog.c b/src/dialog.c
index f238451..623f029 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -150,7 +150,7 @@ void dialogue ( gchar *texte_dialogue )
  *
  * \param text Text to display in window
  */
-G_MODULE_EXPORT void dialogue_error ( gchar *text )
+void dialogue_error ( gchar *text )
 {
     dialogue_special ( GTK_MESSAGE_ERROR, text );
 }
@@ -162,7 +162,7 @@ G_MODULE_EXPORT void dialogue_error ( gchar *text )
  * \param text Text to display in window
  * \param hint Text to display in window as hint (bold, larger)
  */
-G_MODULE_EXPORT void dialogue_error_hint ( const gchar *text, gchar *hint )
+void dialogue_error_hint ( const gchar *text, gchar *hint )
 {
     dialogue_special ( GTK_MESSAGE_ERROR, make_hint (hint, text) );
 }
@@ -173,7 +173,7 @@ G_MODULE_EXPORT void dialogue_error_hint ( const gchar *text, gchar *hint )
  *
  * \param text Text to display in window
  */
-G_MODULE_EXPORT void dialogue_warning ( gchar *text )
+void dialogue_warning ( gchar *text )
 {
     dialogue_special ( GTK_MESSAGE_WARNING, text );
 }
@@ -630,10 +630,11 @@ gchar *make_red ( const gchar *text )
  */
 gchar *make_pango_attribut ( gchar *attribut, const gchar *text )
 {
-    gchar *tmpstr;
+    gchar *tmpstr, *span_format;
 
-    tmpstr = g_markup_printf_escaped (
-                        g_strconcat ( "<span ", attribut, ">%s</span>", NULL ), text );
+    span_format = g_strconcat ( "<span ", attribut, ">%s</span>", NULL );
+    tmpstr = g_markup_printf_escaped ( span_format , text );
+    g_free ( span_format );
 
     return tmpstr;
 }
diff --git a/src/dialog.h b/src/dialog.h
index 64b0e16..52555ff 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -18,12 +18,12 @@ struct conditional_message
 
 
 /* START_DECLARATION */
-G_MODULE_EXPORT void dialog_message ( gchar *label, ... );
+void dialog_message ( gchar *label, ... );
 void dialogue ( gchar *texte_dialogue );
 void dialogue_conditional_hint ( gchar *hint, gchar *text, gchar *var );
-G_MODULE_EXPORT void dialogue_error ( gchar *text );
+void dialogue_error ( gchar *text );
 void dialogue_error_brain_damage ();
-G_MODULE_EXPORT void dialogue_error_hint ( const gchar *text, gchar *hint );
+void dialogue_error_hint ( const gchar *text, gchar *hint );
 void dialogue_error_memory ();
 void dialogue_hint ( gchar *text, gchar *hint );
 const gchar *dialogue_hint_with_entry ( gchar *text, gchar *hint, gchar *entry_description );
@@ -33,7 +33,7 @@ GtkWidget *dialogue_special_no_run ( GtkMessageType param,
                         gchar *text );
 gboolean dialogue_update_struct_message ( GtkWidget *checkbox,
                         struct conditional_message *message );
-G_MODULE_EXPORT void dialogue_warning ( gchar *text );
+void dialogue_warning ( gchar *text );
 void dialogue_warning_hint ( gchar *text, gchar *hint );
 gchar *make_blue ( const gchar *text );
 gchar *make_hint ( const gchar *hint, const gchar *text );
diff --git a/src/erreur.c b/src/erreur.c
index eff8b19..fb30cad 100644
--- a/src/erreur.c
+++ b/src/erreur.c
@@ -39,7 +39,6 @@
 #include "gsb_file.h"
 #include "gsb_file_save.h"
 #include "gsb_file_util.h"
-#include "gsb_plugins.h"
 #include "gsb_real.h"
 #include "gsb_status.h"
 #include "import.h"
@@ -274,7 +273,7 @@ gchar *get_debug_time ( void )
  *
  * \return
  * */
-G_MODULE_EXPORT void debug_message_string ( gchar *prefixe,
+void debug_message_string ( gchar *prefixe,
                         gchar *file,
                         gint line,
                         const char *function,
diff --git a/src/erreur.h b/src/erreur.h
index c22318b..ed637b2 100644
--- a/src/erreur.h
+++ b/src/erreur.h
@@ -41,7 +41,7 @@ void debug_message_real ( gchar *prefixe,
                         gsb_real message,
                         gint level,
                         gboolean force_debug_display);
-G_MODULE_EXPORT void debug_message_string ( gchar *prefixe,
+void debug_message_string ( gchar *prefixe,
                         gchar *file,
                         gint line,
                         const char *function,
diff --git a/src/etats_onglet.c b/src/etats_onglet.c
index f7505fc..bb79ea8 100644
--- a/src/etats_onglet.c
+++ b/src/etats_onglet.c
@@ -943,6 +943,8 @@ void efface_etat ( void )
 {
     gint current_report_number;
     GtkWidget *notebook_general;
+    gchar *hint;
+    gboolean answer;
 
     current_report_number = gsb_gui_navigation_get_current_report ();
 
@@ -953,11 +955,16 @@ void efface_etat ( void )
     if ( gtk_notebook_get_current_page ( GTK_NOTEBOOK ( notebook_general)) != GSB_REPORTS_PAGE )
         gtk_notebook_set_current_page ( GTK_NOTEBOOK ( notebook_general), GSB_REPORTS_PAGE );
 
-   if ( !question_yes_no_hint ( g_strdup_printf (_("Delete report \"%s\"?"),
-						  gsb_data_report_get_report_name (current_report_number) ),
-				_("This will irreversibly remove this report.  There is no undo for this."),
-				GTK_RESPONSE_NO ))
-	return;
+    hint = g_strdup_printf ( _("Delete report \"%s\"?"),
+                             gsb_data_report_get_report_name (current_report_number) );
+    answer = question_yes_no_hint ( hint,
+                                   _("This will irreversibly remove this report.  "
+                                     "There is no undo for this."),
+                                   GTK_RESPONSE_NO );
+    g_free ( hint );
+
+    if ( ! answer )
+        return;
 
    /* remove the report */
 
diff --git a/src/gsb_assistant_file.c b/src/gsb_assistant_file.c
index ba69201..9ef5b59 100644
--- a/src/gsb_assistant_file.c
+++ b/src/gsb_assistant_file.c
@@ -44,7 +44,6 @@
 #include "gsb_currency.h"
 #include "gsb_dirs.h"
 #include "gsb_file.h"
-#include "gsb_plugins.h"
 #include "gsb_select_icon.h"
 #include "import.h"
 #include "parametres.h"
@@ -323,7 +322,7 @@ static GtkWidget *gsb_assistant_file_page_2 ( GtkWidget *assistant )
 			GTK_SHRINK | GTK_FILL, 0, 0, 0 );
 
     /* will we crypt the file ? */
-    if ( gsb_plugin_find ( "openssl" ) )
+#ifdef HAVE_SSL
     {
         button = gsb_automem_checkbutton_new ( _("Encrypt Grisbi file"),
                                                &(etat.crypt_file), G_CALLBACK (gsb_gui_encryption_toggled), NULL);
@@ -333,10 +332,11 @@ static GtkWidget *gsb_assistant_file_page_2 ( GtkWidget *assistant )
         if ( etat.crypt_file )
             run.new_crypted_file = TRUE;
     }
-    else
+#else
     {
         run.new_crypted_file = FALSE;
     }
+#endif
 
     /* date format */
     paddingbox = gsb_config_date_format_chosen ( vbox, GTK_ORIENTATION_HORIZONTAL );
diff --git a/src/gsb_assistant_first.c b/src/gsb_assistant_first.c
index ceb505e..4438174 100644
--- a/src/gsb_assistant_first.c
+++ b/src/gsb_assistant_first.c
@@ -41,7 +41,6 @@
 #include "gsb_automem.h"
 #include "gsb_dirs.h"
 #include "gsb_file.h"
-#include "gsb_plugins.h"
 #include "parametres.h"
 #include "structures.h"
 #include "traitement_variables.h"
@@ -251,7 +250,7 @@ static GtkWidget *gsb_assistant_first_page_2 ( GtkWidget *assistant )
 			 FALSE, FALSE, 0 );
 
     /* crypt the grisbi file */
-    if ( gsb_plugin_find ( "openssl" ) )
+#ifdef HAVE_SSL
     {
         button = gsb_automem_checkbutton_new ( _("Encrypt Grisbi file"),
                                                &(etat.crypt_file), G_CALLBACK (gsb_gui_encryption_toggled), NULL);
@@ -261,10 +260,11 @@ static GtkWidget *gsb_assistant_first_page_2 ( GtkWidget *assistant )
         if ( etat.crypt_file )
             run.new_crypted_file = TRUE;
     }
-    else
+#else
     {
         run.new_crypted_file = FALSE;
     }
+#endif
 
     /* Automatic backup ? */
     button = gsb_automem_checkbutton_new (_("Make a backup copy before saving files"),
diff --git a/src/gsb_dirs.c b/src/gsb_dirs.c
index 1e6036d..1e48a2c 100644
--- a/src/gsb_dirs.c
+++ b/src/gsb_dirs.c
@@ -33,7 +33,6 @@
 
 static gchar *locale_dir;
 static gchar *pixmaps_dir;
-static gchar *plugins_dir;
 static gchar *categories_dir;
 static gchar *ui_dir;
 static gchar *user_config_dir;
@@ -55,7 +54,6 @@ void gsb_dirs_init ( void )
         categories_dir = g_build_filename ( dir, "share/grisbi/categories", NULL );
         locale_dir = g_strconcat ( dir, "/share/locale", NULL );
         pixmaps_dir = g_strconcat ( dir, "/share/pixmaps/grisbi", NULL );
-        plugins_dir = g_strconcat ( dir, "/lib/grisbi", NULL );
         ui_dir = g_strconcat ( dir, "/share/grisbi/ui", NULL );
 
         g_free ( dir );
@@ -74,7 +72,6 @@ void gsb_dirs_init ( void )
         categories_dir = g_build_filename ( res_path, "share/grisbi/categories", NULL );
         locale_dir = g_strconcat (res_path, "/share/locale", NULL );
         pixmaps_dir = g_strconcat (res_path, "/share/pixmaps/grisbi", NULL );
-        plugins_dir = g_strconcat (res_path, "/lib/grisbi", NULL );
         ui_dir = g_strconcat (res_path, "/share/grisbi/ui", NULL );
 
         g_free ( res_path );
@@ -91,7 +88,6 @@ void gsb_dirs_init ( void )
         categories_dir = g_build_filename ( DATA_PATH, "categories", NULL );
         locale_dir = g_strdup ( LOCALEDIR );
         pixmaps_dir = g_strdup ( PIXMAPS_DIR );
-        plugins_dir = g_strdup ( PLUGINS_DIR );
         ui_dir = g_strdup ( UI_DIR );
 
         user_config_dir = g_build_filename ( g_get_user_config_dir (), "grisbi", NULL);
@@ -110,7 +106,6 @@ void gsb_dirs_shutdown ( void )
     g_free ( categories_dir );
     g_free ( locale_dir );
     g_free ( pixmaps_dir );
-    g_free ( plugins_dir );
     g_free ( ui_dir );
     g_free ( user_config_dir );
     g_free ( user_data_dir );
@@ -139,12 +134,6 @@ const gchar *gsb_dirs_get_pixmaps_dir ( void )
 }
 
 
-const gchar *gsb_dirs_get_plugins_dir ( void )
-{
-    return plugins_dir;
-}
-
-
 const gchar *gsb_dirs_get_ui_dir ( void )
 {
     return ui_dir;
diff --git a/src/gsb_dirs.h b/src/gsb_dirs.h
index 50b329d..f7ccd18 100644
--- a/src/gsb_dirs.h
+++ b/src/gsb_dirs.h
@@ -9,7 +9,6 @@ const gchar *gsb_dirs_get_categories_dir ( void );
 const gchar *gsb_dirs_get_default_dir ( void );
 const gchar *gsb_dirs_get_locale_dir ( void );
 const gchar *gsb_dirs_get_pixmaps_dir ( void );
-const gchar *gsb_dirs_get_plugins_dir ( void );
 const gchar *gsb_dirs_get_ui_dir ( void );
 const gchar *gsb_dirs_get_user_config_dir ( void );
 const gchar *gsb_dirs_get_user_data_dir ( void );
diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index 1fe6f98..74ae969 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -68,7 +68,6 @@
 #include "gsb_file.h"
 #include "gsb_file_util.h"
 #include "gsb_locale.h"
-#include "gsb_plugins.h"
 #include "gsb_real.h"
 #include "gsb_select_icon.h"
 #include "gsb_scheduler_list.h"
@@ -83,6 +82,9 @@
 #include "utils_str.h"
 #include "erreur.h"
 #include "gsb_dirs.h"
+#ifdef HAVE_SSL
+#include "plugins/openssl/openssl.h"
+#endif
 /*END_INCLUDE*/
 
 /*START_STATIC*/
@@ -331,37 +333,31 @@ gboolean gsb_file_load_open_file ( gchar *filename )
     {
         GMarkupParser *markup_parser;
         GMarkupParseContext *context;
-        gsb_plugin *plugin;
 
         /* first, we check if the file is crypted, if it is, we decrypt it */
         if ( !strncmp ( file_content, "Grisbi encrypted file ", 22 ) ||
              !strncmp ( file_content, "Grisbi encryption v2: ", 22 ) )
         {
-            plugin = gsb_plugin_find ( "openssl" );
-            if ( plugin )
-            {
-            gint (*crypt_function) ( gchar *, gchar **, gboolean, gulong );
-
-            crypt_function = (gpointer) plugin -> plugin_run;
-            length = crypt_function ( filename, &file_content, FALSE, length );
+#ifdef HAVE_SSL
+            length = gsb_file_util_crypt_file ( filename, &file_content, FALSE, length );
 
             if ( ! length )
             {
                 g_free (file_content);
                 return FALSE;
             }
-            }
-            else
+#else
             {
                 g_free (file_content);
-                dialogue_error_hint ( _("Grisbi was unable to load required plugin to "
-                        "handle that file.\n\n"
-                        "Please make sure if is installed (i.e. check "
-                        "that 'open-ssl' package is installed) and "
-                        "try again."),
-                        _("Encryption plugin not found." ) );
+                gchar *text = _("This build of Grisbi does not support encryption.\n"
+                        "Please recompile Grisbi with OpenSSL encryption enabled.");
+                gchar *hint = g_strdup_printf ( _("Cannot open encrypted file '%s'"),
+	                                            filename );
+                dialogue_error_hint ( text, hint );
+                g_free ( hint );
                 return FALSE;
             }
+#endif
         }
 
         /* we begin to check if we are in a version under 0.6 or 0.6 and above,
diff --git a/src/gsb_file_save.c b/src/gsb_file_save.c
index 70adc9d..2bcc882 100644
--- a/src/gsb_file_save.c
+++ b/src/gsb_file_save.c
@@ -72,7 +72,6 @@
 #include "utils_dates.h"
 #include "navigation.h"
 #include "gsb_locale.h"
-#include "gsb_plugins.h"
 #include "gsb_real.h"
 #include "gsb_select_icon.h"
 #include "utils_str.h"
@@ -81,6 +80,9 @@
 #include "gsb_scheduler_list.h"
 #include "gsb_calendar.h"
 #include "erreur.h"
+#ifdef HAVE_SSL
+#include "plugins/openssl/openssl.h"
+#endif
 /*END_INCLUDE*/
 
 /*START_STATIC*/
@@ -216,8 +218,6 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
 
     struct stat buf;
 
-    gsb_plugin * plugin;
-
     devel_debug (filename);
 
     if ( g_file_test ( filename, G_FILE_TEST_EXISTS ) )
@@ -388,30 +388,27 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
     /* crypt the file if asked */
     if ( etat.crypt_file )
     {
-        if ( ( plugin = gsb_plugin_find ( "openssl" ) ) )
+#ifdef HAVE_SSL
         {
-            gint (*crypt_function) ( const gchar *, gchar **, gboolean, gulong );
-
-            crypt_function = (gpointer) plugin -> plugin_run;
-            iterator = crypt_function ( filename, &file_content, TRUE, iterator );
+            iterator = gsb_file_util_crypt_file ( filename, &file_content, TRUE, iterator );
             if ( ! iterator )
             {
                 g_free ( file_content);
                 return FALSE;
             }
         }
-        else
+#else
         {
-            dialogue_error_hint ( _("Grisbi was unable to load required plugin to "
-                        "handle that file.\n\n"
-                        "Please make sure if is installed (i.e. check "
-                        "that 'open-ssl' package is installed) and "
-                        "try again."),
-                      _("Encryption plugin not found." ) );
-
             g_free ( file_content);
+            gchar *text = _("This build of Grisbi does not support encryption.\n"
+                    "Please recompile Grisbi with OpenSSL encryption enabled.");
+            gchar *hint = g_strdup_printf ( _("Cannot open encrypted file '%s'"),
+                                                filename );
+            dialogue_error_hint ( text, hint );
+            g_free ( hint );
             return FALSE;
         }
+#endif
     }
 
     /* the file is in memory, we can save it */
diff --git a/src/gsb_plugins.c b/src/gsb_plugins.c
deleted file mode 100644
index a2615d9..0000000
--- a/src/gsb_plugins.c
+++ /dev/null
@@ -1,237 +0,0 @@
-/* ************************************************************************** */
-/*                                                                            */
-/*     Copyright (C)	2006-2006 Benjamin Drieu (bdrieu at april.org)	      */
-/* 			http://www.grisbi.org				      */
-/*                                                                            */
-/*  This program is free software; you can redistribute it and/or modify      */
-/*  it under the terms of the GNU General Public License as published by      */
-/*  the Free Software Foundation; either version 2 of the License, or         */
-/*  (at your option) any later version.                                       */
-/*                                                                            */
-/*  This program is distributed in the hope that it will be useful,           */
-/*  but WITHOUT ANY WARRANTY; without even the implied warranty of            */
-/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
-/*  GNU General Public License for more details.                              */
-/*                                                                            */
-/*  You should have received a copy of the GNU General Public License         */
-/*  along with this program; if not, write to the Free Software               */
-/*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
-/*                                                                            */
-/* ************************************************************************** */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "include.h"
-#ifndef ENABLE_STATIC
-#include <gmodule.h>
-#endif
-#include <glib/gi18n.h>
-
-/*START_INCLUDE*/
-#include "gsb_plugins.h"
-#include "dialog.h"
-#ifdef ENABLE_STATIC
-#include "plugins/gnucash/gnucash.h"
-#include "plugins/ofx/ofx.h"
-#include "plugins/openssl/openssl.h"
-#endif /* ENABLE_STATIC */
-/*END_INCLUDE*/
-
-/*START_EXTERN*/
-/*END_EXTERN*/
-
-/*START_STATIC*/
-/*END_STATIC*/
-
-
-/** List of registered plugins.  It should contain gsb_plugin structures. */
-static GSList * plugins = NULL;
-
-/**
- *
- *
- */
-void gsb_plugins_scan_dir ( const char *dirname )
-{
-#ifdef ENABLE_STATIC
-    gsb_plugin *plugin = NULL;
-
-    plugin = g_malloc0 ( sizeof ( gsb_plugin ) );
-    plugin -> name = "gnucash";
-    plugin -> plugin_register = &gnucash_plugin_register;
-    plugin -> plugin_run =      &gnucash_plugin_run;
-    plugin -> plugin_register ();
-    plugins = g_slist_append ( plugins, plugin );
-
-#ifdef HAVE_OFX
-    plugin = g_malloc0 ( sizeof ( gsb_plugin ) );
-    plugin -> name = "ofx";
-    plugin -> plugin_register = &ofx_plugin_register;
-    plugin -> plugin_run =      &ofx_plugin_run;
-    plugin -> plugin_register ();
-    plugins = g_slist_append ( plugins, plugin );
-#endif /* HAVE_OFX */
-
-    plugin = g_malloc0 ( sizeof ( gsb_plugin ) );
-    plugin -> name = "openssl";
-    plugin -> plugin_register = &openssl_plugin_register;
-    plugin -> plugin_run =      &openssl_plugin_run;
-    plugin -> plugin_register ();
-    plugins = g_slist_append ( plugins, plugin );
-#else /* ENABLE_STATIC */
-    GDir * plugin_dir;
-    const gchar * filename;
-    gchar * plugin_name;
-
-    plugin_dir = g_dir_open ( dirname, 0, NULL );
-    if ( ! plugin_dir )
-	return;
-
-    while ( ( filename = g_dir_read_name ( plugin_dir ) ) != NULL )
-    {
-	gchar * complete_filename, * tmp;
-	gchar ** split_filename;
-	gsb_plugin * plugin = g_malloc0 ( sizeof ( gsb_plugin ) );
-
-	split_filename = g_strsplit(filename, ".", 2);
-
-	if (!split_filename[1])
-		continue;
-
-	if ( strncmp ( split_filename[1], G_MODULE_SUFFIX, strlen(G_MODULE_SUFFIX) ) )
-	    continue;
-
-	complete_filename = g_build_filename ( dirname, filename, NULL );
-
-	if ( ! ( plugin -> handle =
-		 g_module_open (complete_filename, 0 ) ) )
-	{
-	    gchar* tmpstr = g_strdup_printf ( "Couldn't load module %s: %s", filename,
-					       g_module_error() );
-	    dialogue_error ( tmpstr );
-	    g_free ( tmpstr );
-	    g_free ( plugin );
-	    g_free ( complete_filename);
-	    continue;
-	}
-
-	g_free (complete_filename);
-
-	if ( ! g_module_symbol ( plugin -> handle, "plugin_name",
-				 (gpointer) &plugin_name ) )
-	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol",
-					       filename );
-	    dialogue_error ( tmpstr );
-	    g_free ( tmpstr );
-	    g_free ( plugin );
-	    continue;
-	}
-	plugin -> name = plugin_name;
-
-	tmp = g_strconcat ( plugin_name, "_plugin_register", NULL );
-	if ( ! g_module_symbol ( plugin -> handle, tmp,
-				 (gpointer)  &( plugin -> plugin_register ) ) )
-	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no register symbol",
-					       filename );
-	    dialogue_error ( tmpstr );
-	    g_free ( tmpstr );
-	    g_free ( plugin );
-	    continue;
-	}
-	g_free ( tmp );
-
-	plugin -> plugin_register ();
-
-	tmp = g_strconcat ( plugin_name, "_plugin_run", NULL );
-	if ( ! g_module_symbol ( plugin -> handle, tmp,
-				 (gpointer) &( plugin -> plugin_run ) ) )
-	{
-	    gchar* tmpstr = g_strdup_printf ( "Plugin %s has no run symbol",
-					       filename );
-	    dialogue_error ( tmpstr );
-	    g_free ( tmpstr );
-	    g_free ( plugin );
-	    continue;
-	}
-	g_free ( tmp );
-
-	plugins = g_slist_append ( plugins, plugin );
-    }
-
-    g_dir_close ( plugin_dir );
-#endif /* ENABLE_STATIC */
-}
-
-
-
-/**
- *
- *
- *
- */
-gsb_plugin * gsb_plugin_find ( gchar * plugin_name )
-{
-    GSList * tmp = plugins;
-
-    g_return_val_if_fail ( plugin_name, NULL );
-
-    while ( tmp )
-    {
-	gsb_plugin * plugin = (gsb_plugin *) tmp -> data;
-
-	if ( ! strcmp ( plugin_name, plugin -> name ) )
-	{
-	    return plugin;
-	}
-
-	tmp = tmp -> next;
-    }
-
-    return NULL;
-}
-
-
-
-/**
- * Get activated plugins.
- *
- * \return A newly-allocated string representing activated plugins.
- */
-gchar * gsb_plugin_get_list ()
-{
-    gchar * list = NULL;
-    gchar * old_list = NULL;
-    GSList * tmp = plugins;
-
-    while ( tmp )
-    {
-	gsb_plugin * plugin = (gsb_plugin *) tmp -> data;
-
-	if ( ! list )
-	{
-	    list = g_strconcat ( _("with plugins"), " ", plugin -> name, NULL );
-	}
-	else
-	{
-	    old_list = list;
-	    list = g_strconcat ( list, ", ", plugin -> name, NULL );
-	    g_free(old_list);
-	}
-
-	tmp = tmp -> next;
-    }
-    if (! list)
-    	list = g_strdup("no plugin");
-
-    return list;
-}
-
-
-
-/* Local Variables: */
-/* c-basic-offset: 4 */
-/* End: */
diff --git a/src/gsb_plugins.h b/src/gsb_plugins.h
deleted file mode 100644
index b57ca57..0000000
--- a/src/gsb_plugins.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef GSB_PLUGINS_H
-#define GSB_PLUGINS_H
-
-#include <glib.h>
-#ifndef ENABLE_STATIC
-#include <gmodule.h>
-#endif
-
-/* START_INCLUDE_H */
-/* END_INCLUDE_H */
-
-
-typedef struct gsb_plugin {
-    gchar * name;
-    void (* plugin_register) ( void );
-    gpointer (* plugin_run) ( );
-#ifndef ENABLE_STATIC
-    GModule * handle;
-#endif
-}  gsb_plugin;
-
-
-/* START_DECLARATION */
-gsb_plugin * gsb_plugin_find ( gchar * plugin_name );
-gchar * gsb_plugin_get_list ();
-void gsb_plugins_scan_dir ( const char *dirname );
-/* END_DECLARATION */
-
-#endif
diff --git a/src/gsb_real.c b/src/gsb_real.c
index 147a880..5823f40 100644
--- a/src/gsb_real.c
+++ b/src/gsb_real.c
@@ -363,7 +363,7 @@ gsb_real gsb_real_safe_real_from_string ( const gchar *string )
  *
  * \return -1 if number_1 < number_2 ; 0 if number_1 = number_2 ; 1 if number_1 > number_2
  * */
-G_MODULE_EXPORT gint gsb_real_cmp ( gsb_real number_1,
+gint gsb_real_cmp ( gsb_real number_1,
                         gsb_real number_2 )
 {
     gsb_real_normalize ( &number_1,
@@ -569,7 +569,7 @@ gsb_real gsb_real_adjust_exponent ( gsb_real number,
  *
  * \return a gsb_real = number_1 + number_2, or error_real when an error occured
  * */
-G_MODULE_EXPORT gsb_real gsb_real_add ( gsb_real number_1,
+gsb_real gsb_real_add ( gsb_real number_1,
                         gsb_real number_2 )
 {
     gint64 mantissa;
@@ -614,7 +614,7 @@ gsb_real gsb_real_sub ( gsb_real number_1,
  *
  * \return its opposite
  * */
-G_MODULE_EXPORT gsb_real gsb_real_opposite ( gsb_real number )
+gsb_real gsb_real_opposite ( gsb_real number )
 {
     number.mantissa = -number.mantissa;
     return number;
@@ -704,7 +704,7 @@ gsb_real gsb_real_div ( gsb_real number_1,
  *
  * \return the number in gsb_real format
  * */
-G_MODULE_EXPORT gsb_real gsb_real_double_to_real ( gdouble number )
+gsb_real gsb_real_double_to_real ( gdouble number )
 {
 	return gsb_real_double_to_real_add_exponent(number, 0);
 }
diff --git a/src/gsb_real.h b/src/gsb_real.h
index e0c5dd4..89ce40a 100644
--- a/src/gsb_real.h
+++ b/src/gsb_real.h
@@ -3,7 +3,6 @@
 
 #include <locale.h>
 #include <glib.h>
-#include <gmodule.h>
 
 #define EXPONENT_MAX 10
 #define ERROR_REAL_STRING "###ERR###"
@@ -26,20 +25,20 @@ static const gsb_real error_real = { G_MININT64, 0 };
 
 /* START_DECLARATION */
 gsb_real gsb_real_abs ( gsb_real number );
-G_MODULE_EXPORT gsb_real gsb_real_add ( gsb_real number_1,
+gsb_real gsb_real_add ( gsb_real number_1,
                         gsb_real number_2 );
 gsb_real gsb_real_adjust_exponent ( gsb_real number,
                         gint return_exponent );
-G_MODULE_EXPORT gint gsb_real_cmp ( gsb_real number_1,
+gint gsb_real_cmp ( gsb_real number_1,
                         gsb_real number_2 );
 gsb_real gsb_real_div ( gsb_real number_1,
                         gsb_real number_2 );
-G_MODULE_EXPORT gsb_real gsb_real_double_to_real ( gdouble number );
+gsb_real gsb_real_double_to_real ( gdouble number );
 gsb_real gsb_real_mul ( gsb_real number_1,
                         gsb_real number_2 );
 gsb_real gsb_real_new ( gint64 mantissa, gint exponent );
 gboolean gsb_real_normalize ( gsb_real *number_1, gsb_real *number_2 );
-G_MODULE_EXPORT gsb_real gsb_real_opposite ( gsb_real number );
+gsb_real gsb_real_opposite ( gsb_real number );
 gchar *gsb_real_raw_format_string (gsb_real number,
                         struct lconv *locale,
                         const gchar *currency_symbol );
diff --git a/src/help.c b/src/help.c
index 5991020..a5b8be5 100644
--- a/src/help.c
+++ b/src/help.c
@@ -31,7 +31,6 @@
 
 /*START_INCLUDE*/
 #include "help.h"
-#include "gsb_plugins.h"
 #include "gsb_select_icon.h"
 #include "structures.h"
 #include "utils.h"
@@ -76,6 +75,35 @@ void launch_mailto (GtkAboutDialog *about, const gchar * link, gpointer data)
 }
 
 
+gchar * extra_support ( void )
+{
+    gchar *ret;
+
+    ret = g_strconcat (
+        _("GnuCash support: "),
+#ifdef HAVE_XML2
+        _("yes"), "\n",
+#else
+        _("no"), "\n",
+#endif
+        _("OFX support: "),
+#ifdef HAVE_OFX
+        _("yes"), "\n",
+#else
+        _("no"), "\n",
+#endif
+        _("OpenSSL support: "),
+#ifdef HAVE_SSL
+        _("yes"), "\n",
+#else
+        _("no"), "\n",
+#endif
+        NULL);
+
+    return ret;
+}
+
+
 /**
  * Create and run an About dialog.
  *
@@ -159,10 +187,10 @@ NULL};
 
     /* Others info */
     gchar *comments;
-    gchar *plugins;
+    gchar *extra;
     gchar *version_to_string;
 
-    plugins = gsb_plugin_get_list ( );
+    extra = extra_support ( );
     version_to_string = get_gtk_run_version ( );
 
     if ( IS_DEVELOPMENT_VERSION == 1 )
@@ -171,8 +199,8 @@ NULL};
 
         compiled_time = gsb_date_get_compiled_time ( );
         comments = g_strconcat ( _("Personal finance manager for everyone\n"),
-                        plugins,
-                        "\nVersion de GTK : ",
+                        extra,
+                        "Version de GTK : ",
                         version_to_string,
                         "\n",
                         _("This instance of Grisbi was compiled on\n"),
@@ -187,8 +215,8 @@ NULL};
     }
     else
         comments = g_strconcat ( _("Personal finance manager for everyone\n"),
-                        plugins,
-                        "\nVersion de GTK : ",
+                        extra,
+                        "Version de GTK : ",
                         version_to_string,
                         NULL );
 
@@ -222,7 +250,7 @@ NULL};
     gtk_window_set_modal ( GTK_WINDOW ( about ), TRUE );
     gtk_window_set_transient_for ( GTK_WINDOW ( about ), GTK_WINDOW ( run.window ) );
 
-    g_free ( plugins );
+    g_free ( extra );
     g_free ( version_to_string );
     g_free ( comments );
 
diff --git a/src/help.h b/src/help.h
index aa2de6c..d5cf3ec 100644
--- a/src/help.h
+++ b/src/help.h
@@ -8,6 +8,7 @@
 
 
 /* START_DECLARATION */
+gchar * extra_support ( void );
 void a_propos ( GtkWidget *bouton, gint data );
 /* END_DECLARATION */
 #endif
diff --git a/src/import.c b/src/import.c
index f1a3dc4..803d89b 100644
--- a/src/import.c
+++ b/src/import.c
@@ -82,6 +82,12 @@
 #include "structures.h"
 #include "erreur.h"
 #include "gsb_dirs.h"
+#ifdef HAVE_XML2
+#include "plugins/gnucash/gnucash.h"
+#endif
+#ifdef HAVE_OFX
+#include "plugins/ofx/ofx.h"
+#endif
 /*END_INCLUDE*/
 
 /*START_STATIC*/
@@ -201,8 +207,14 @@ static gboolean marked_r_transactions_imported;
 /** Known built-in import formats.  Others are plugins.  */
 static struct import_format builtin_formats[] =
 {
-{ "CSV", N_("Comma Separated Values"),     "csv", (import_function) csv_import_csv_account },
-{ "QIF", N_("Quicken Interchange Format"), "qif", (import_function) recuperation_donnees_qif },
+{ "CSV", N_("Comma Separated Values"),     "csv", csv_import_csv_account },
+{ "QIF", N_("Quicken Interchange Format"), "qif", recuperation_donnees_qif },
+#ifdef HAVE_XML2
+{ "Gnucash", N_("Gnucash"),                "gnc", recuperation_donnees_gnucash },
+#endif
+#ifdef HAVE_OFX
+{ "OFX", N_("Open Financial Exchange"),    "ofx", recuperation_donnees_ofx },
+#endif
 { NULL,  NULL,              NULL,       NULL },
 };
 
@@ -267,7 +279,7 @@ void register_import_formats ( void )
  *                      this import format.
  *
  */
-G_MODULE_EXPORT void register_import_format ( struct import_format *format )
+void register_import_format ( struct import_format *format )
 {
     gchar *tmp_str;
 
@@ -3593,7 +3605,7 @@ gboolean click_sur_liste_opes_orphelines ( GtkCellRendererToggle *renderer,
  *
  * return a newly allocated string or NULL
  */
-G_MODULE_EXPORT gchar * unique_imported_name ( gchar * account_name )
+gchar * unique_imported_name ( gchar * account_name )
 {
     GSList *tmp_list;
     gchar *basename;
@@ -4346,7 +4358,7 @@ const gchar * autodetect_file_type ( gchar * filename,
  *
  * \param account   Account to register.
  */
-G_MODULE_EXPORT void gsb_import_register_account ( struct struct_compte_importation * account )
+void gsb_import_register_account ( struct struct_compte_importation * account )
 {
     liste_comptes_importes = g_slist_append ( liste_comptes_importes, account );
 }
@@ -4358,7 +4370,7 @@ G_MODULE_EXPORT void gsb_import_register_account ( struct struct_compte_importat
  *
  * \param account   Account to register.
  */
-G_MODULE_EXPORT void gsb_import_register_account_error ( struct struct_compte_importation * account )
+void gsb_import_register_account_error ( struct struct_compte_importation * account )
 {
     liste_comptes_importes_error = g_slist_append ( liste_comptes_importes, account );
 }
diff --git a/src/import.h b/src/import.h
index 9de9e39..942865c 100644
--- a/src/import.h
+++ b/src/import.h
@@ -106,8 +106,6 @@ struct imported_file
 };
 
 
-typedef gboolean ( * import_function ) ( GtkWidget * assistant, struct imported_file * );
-
 struct import_format
 {
     gchar * name;
@@ -125,14 +123,14 @@ gint gsb_import_associations_list_append_assoc ( gint payee_number,
                         const gchar *search_str );
 gboolean gsb_import_by_rule ( gint rule );
 gchar *gsb_import_formats_get_list_formats_to_string ( void );
-G_MODULE_EXPORT void gsb_import_register_account ( struct struct_compte_importation * account );
-G_MODULE_EXPORT void gsb_import_register_account_error ( struct struct_compte_importation * account );
+void gsb_import_register_account ( struct struct_compte_importation * account );
+void gsb_import_register_account_error ( struct struct_compte_importation * account );
 GSList *import_selected_files ( GtkWidget * assistant );
 void importer_fichier ( void );
 GtkWidget *onglet_importation ( void );
-G_MODULE_EXPORT void register_import_format ( struct import_format *format );
+void register_import_format ( struct import_format *format );
 void register_import_formats ( void );
-G_MODULE_EXPORT gchar * unique_imported_name ( gchar * account_name );
+gchar * unique_imported_name ( gchar * account_name );
 /* END_DECLARATION */
 
 
diff --git a/src/main.c b/src/main.c
index 81cfce1..15250fd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,7 +50,6 @@
 #include "gsb_file.h"
 #include "gsb_file_config.h"
 #include "gsb_locale.h"
-#include "gsb_plugins.h"
 #include "gsb_status.h"
 #include "import.h"
 #include "menu.h"
@@ -508,10 +507,6 @@ gboolean gsb_grisbi_init_app ( void )
     gboolean first_use = FALSE;
     gchar *string;
 
-#ifdef HAVE_PLUGINS
-    gsb_plugins_scan_dir ( gsb_dirs_get_plugins_dir ( ) );
-#endif
-
     /* create the icon of grisbi (set in the panel of gnome or other) */
     string = g_build_filename ( gsb_dirs_get_pixmaps_dir ( ), "grisbi-logo.png", NULL );
     if ( g_file_test ( string, G_FILE_TEST_EXISTS ) )
@@ -971,7 +966,6 @@ gchar *gsb_main_get_print_dir_var ( void )
                         "\tgsb_dirs_get_accelerator_filename () = %s\n\n"
                         "\tgsb_dirs_get_categories_dir ()       = %s\n"
                         "\tgsb_dirs_get_locale_dir ()           = %s\n"
-                        "\tgsb_dirs_get_plugins_dir ()          = %s\n"
                         "\tgsb_dirs_get_pixmaps_dir ()          = %s\n"
                         "\tgsb_dirs_get_ui_dir ()               = %s\n\n",
                         g_get_user_data_dir (),
@@ -982,7 +976,6 @@ gchar *gsb_main_get_print_dir_var ( void )
                         gsb_dirs_get_accelerator_filename (),
                         gsb_dirs_get_categories_dir ( ),
                         gsb_dirs_get_locale_dir ( ),
-                        gsb_dirs_get_plugins_dir ( ),
                         gsb_dirs_get_pixmaps_dir ( ),
                         gsb_dirs_get_ui_dir ( ) );
 
diff --git a/src/parse_cmdline.c b/src/parse_cmdline.c
index 08f9cd5..53dc132 100644
--- a/src/parse_cmdline.c
+++ b/src/parse_cmdline.c
@@ -26,12 +26,12 @@
 
 /*START_INCLUDE*/
 #include "parse_cmdline.h"
-#include "gsb_plugins.h"
 #include "main.h"
 #include "utils_str.h"
 #include "structures.h"
 #include "utils.h"
 #include "gsb_dirs.h"
+#include "help.h"
 /*END_INCLUDE*/
 
 /*START_STATIC*/
@@ -171,11 +171,9 @@ gboolean  parse_options(int argc, char **argv, cmdline_options *pOpt, gint* pErr
  **/
 void show_version(void)
 {
-#ifdef HAVE_PLUGINS
-    gsb_plugins_scan_dir ( gsb_dirs_get_plugins_dir ( ) );
-#endif
-
-    g_print(N_("Grisbi version %s, %s\n"), VERSION, gsb_plugin_get_list());
+    g_print( _("Grisbi version %s"), VERSION);
+    g_print( "\n\n" );
+    g_print( "%s", extra_support ( ) );
 }
 
 
diff --git a/src/plugins/gnucash/Makefile.am b/src/plugins/gnucash/Makefile.am
index bebe254..55aebf9 100644
--- a/src/plugins/gnucash/Makefile.am
+++ b/src/plugins/gnucash/Makefile.am
@@ -4,11 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src $(GRISBI_CFLAGS) $(XML2_CFLAGS
 
 if HAVE_XML2
 
-if ENABLE_STATIC
 noinst_LTLIBRARIES = gnucash.la
-else
-plugin_LTLIBRARIES = gnucash.la
-endif
 gnucash_la_SOURCES = gnucash.c gnucash.h
 gnucash_la_LDFLAGS = -module -avoid-version
 gnucash_la_LIBADD = $(XML2_LIBS)
diff --git a/src/plugins/gnucash/gnucash.c b/src/plugins/gnucash/gnucash.c
index 21c4e1c..a09d18b 100644
--- a/src/plugins/gnucash/gnucash.c
+++ b/src/plugins/gnucash/gnucash.c
@@ -34,7 +34,6 @@
 #include "dialog.h"
 #include "gsb_data_transaction.h"
 #include "gsb_real.h"
-#include "import.h"
 #include "utils_str.h"
 #include "utils_files.h"
 #include "erreur.h"
@@ -59,8 +58,6 @@ static struct struct_ope_importation * new_transaction_from_split ( struct gnuca
 							     gchar * tiers, GDate * date );
 static gboolean node_strcmp ( xmlNodePtr node, gchar * name );
 static xmlDocPtr parse_gnucash_file ( gchar * filename );
-static gboolean recuperation_donnees_gnucash ( GtkWidget * assistant,
-					struct imported_file * imported );
 static void recuperation_donnees_gnucash_book ( xmlNodePtr book_node );
 static void recuperation_donnees_gnucash_categorie ( xmlNodePtr categ_node );
 static void recuperation_donnees_gnucash_compte ( xmlNodePtr compte_node );
@@ -69,41 +66,9 @@ static void update_split ( struct gnucash_split * split, gsb_real amount,
 		    gchar * account, gchar * categ );
 /*END_STATIC*/
 
-
-static struct import_format gnucash_format = {
-    "Gnucash",
-    "Gnucash",
-    "gnc",
-    (import_function) recuperation_donnees_gnucash,
-};
-
 GSList * gnucash_accounts = NULL;
 
 
-#ifndef ENABLE_STATIC
-/** Module name. */
-G_MODULE_EXPORT const gchar plugin_name[] = "gnucash";
-#endif
-
-
-
-/** Initialization function. */
-G_MODULE_EXPORT extern void gnucash_plugin_register ( void )
-{
-    devel_debug ("Initializating gnucash plugin");
-
-    register_import_format ( &gnucash_format );
-}
-
-
-
-/** Main function of module. */
-G_MODULE_EXPORT extern gpointer gnucash_plugin_run ( void )
-{
-    return NULL;
-}
-
-
 
 /*****************************************************************/
 
diff --git a/src/plugins/gnucash/gnucash.h b/src/plugins/gnucash/gnucash.h
index d3a5102..7c745f6 100644
--- a/src/plugins/gnucash/gnucash.h
+++ b/src/plugins/gnucash/gnucash.h
@@ -1,15 +1,15 @@
 #ifndef GSB_GNUCASH_H
 #define GSB_GNUCASH_H
 
-#include <glib.h>
-#include <gmodule.h>
+#include <gtk/gtk.h>
 
 /* START_INCLUDE_H */
+#include "import.h"
 /* END_INCLUDE_H */
 
 /* START_DECLARATION */
-G_MODULE_EXPORT extern void gnucash_plugin_register ( void );
-G_MODULE_EXPORT extern gpointer gnucash_plugin_run ( void );
+gboolean recuperation_donnees_gnucash ( GtkWidget * assistant,
+					struct imported_file * imported );
 /* END_DECLARATION */
 
 #endif
diff --git a/src/plugins/ofx/Makefile.am b/src/plugins/ofx/Makefile.am
index 341ada8..031daa1 100644
--- a/src/plugins/ofx/Makefile.am
+++ b/src/plugins/ofx/Makefile.am
@@ -4,11 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src $(GRISBI_CFLAGS) $(LIBOFX_CFLA
 
 if HAVE_OFX
 
-if ENABLE_STATIC
 noinst_LTLIBRARIES = ofx.la
-else
-plugin_LTLIBRARIES = ofx.la
-endif
 ofx_la_SOURCES = ofx.c ofx.h
 ofx_la_LDFLAGS = -module -avoid-version
 ofx_la_LIBADD = $(LIBOFX_LIBS)
diff --git a/src/plugins/ofx/ofx.c b/src/plugins/ofx/ofx.c
index f8d7c72..194df85 100644
--- a/src/plugins/ofx/ofx.c
+++ b/src/plugins/ofx/ofx.c
@@ -44,42 +44,46 @@ static int ofx_proc_account_cb(struct OfxAccountData data, void * account_data);
 static int ofx_proc_statement_cb(struct OfxStatementData data, void * statement_data);;
 static int ofx_proc_status_cb(struct OfxStatusData data, void * status_data);;
 static int ofx_proc_transaction_cb(struct OfxTransactionData data, void * security_data);;
-static GSList * recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file * imported );
 /*END_STATIC*/
 
 
-static struct import_format ofx_format =
-{
-    "OFX",
-    "Open Financial Exchange",
-    "ofx",
-    (import_function) recuperation_donnees_ofx,
-};
 
+/* It seems the following applies to everyone, otherwise OFX_* are not defined */
+/* #ifdef _WIN32 */
+/* On Windows, the Ofx Severity enumerate values are already used in wingdi.h, DELETE is used in winnt.h
+ * This is a work around to this issues :
+ *  INFO, WARN, ERROR, DELETE and REPLACE are used in standard libofx.h;
+ *  on windows they should be prefixed by OFX_
+ */
 
+#ifndef _MINGW
 
-#ifndef ENABLE_STATIC
-/** Module name. */
-G_MODULE_EXPORT const gchar plugin_name[] = "ofx";
+#ifndef OFX_INFO
+#define OFX_INFO    INFO
 #endif
 
+#ifndef OFX_WARN
+#define OFX_WARN    WARN
+#endif
 
+#ifndef OFX_ERROR
+#if defined(_MSC_VER) || defined(_MINGW)
+#undef ERROR
+#endif /* _MSC_VER */
+#define OFX_ERROR   ERROR
+#endif
 
-/** Initialization function. */
-G_MODULE_EXPORT extern void ofx_plugin_register ( void )
-{
-    devel_debug ("Initializating ofx plugin");
-    register_import_format ( &ofx_format );
-}
+#ifndef OFX_DELETE
+#define OFX_DELETE  DELETE
+#endif
 
+#ifndef OFX_REPLACE
+#define OFX_REPLACE REPLACE
+#endif
 
+#endif /* _MIN_GW */
 
-/** Main function of module. */
-G_MODULE_EXPORT extern gpointer ofx_plugin_run ( GtkWidget * assistant,
-				    struct imported_file * imported )
-{
-    return recuperation_donnees_ofx ( assistant, imported );
-}
+/* #endif _WIN32 */
 
 
 
@@ -107,7 +111,7 @@ int ofx_proc_statement_cb(struct OfxStatementData data, void * statement_data);
  *
  *
  */
-GSList *recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file * imported )
+gboolean recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file * imported )
 {
     GSList *liste_tmp;
     gchar *argv[2] = { "", "" };
@@ -147,7 +151,7 @@ GSList *recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file *
         gsb_import_register_account_error ( account );
         devel_print_str ( account -> nom_de_compte );
 
-        return ( FALSE );
+        return FALSE ;
     }
 
     liste_tmp = liste_comptes_importes_ofx;
@@ -166,7 +170,7 @@ GSList *recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file *
 	liste_tmp = liste_tmp -> next;
     }
 
-    return ( liste_tmp );
+    return TRUE;
 }
 /* *******************************************************************************/
 
diff --git a/src/plugins/ofx/ofx.h b/src/plugins/ofx/ofx.h
index 116f4fd..031c8b3 100644
--- a/src/plugins/ofx/ofx.h
+++ b/src/plugins/ofx/ofx.h
@@ -1,52 +1,14 @@
 #ifndef GSB_OFX_H
 #define GSB_OFX_H
 
+#include <gtk/gtk.h>
+
 /* START_INCLUDE_H */
 #include "import.h"
 /* END_INCLUDE_H */
 
 /* START_DECLARATION */
-G_MODULE_EXPORT extern void ofx_plugin_register ( void );
-G_MODULE_EXPORT extern gpointer ofx_plugin_run ( GtkWidget * assistant,
-				    struct imported_file * imported );
+gboolean recuperation_donnees_ofx ( GtkWidget * assistant, struct imported_file * imported );
 /* END_DECLARATION */
 
-
-/* It seems the following applies to everyone, otherwise OFX_* are not defined */
-/* #ifdef _WIN32 */
-/* On Windows, the Ofx Severity enumerate values are already used in wingdi.h, DELETE is used in winnt.h
- * This is a work around to this issues :
- *  INFO, WARN, ERROR, DELETE and REPLACE are used in standard libofx.h;
- *  on windows they should be prefixed by OFX_
- */
-
-#ifndef _MINGW
-
-#ifndef OFX_INFO
-#define OFX_INFO    INFO
-#endif
-
-#ifndef OFX_WARN
-#define OFX_WARN    WARN
-#endif
-
-#ifndef OFX_ERROR
-#if defined(_MSC_VER) || defined(_MINGW)
-#undef ERROR
-#endif /* _MSC_VER */
-#define OFX_ERROR   ERROR
-#endif
-
-#ifndef OFX_DELETE
-#define OFX_DELETE  DELETE
-#endif
-
-#ifndef OFX_REPLACE
-#define OFX_REPLACE REPLACE
-#endif
-
-#endif /* _MIN_GW */
-
-/* #endif _WIN32 */
-
 #endif /* GSB_OFX_H */
diff --git a/src/plugins/openssl/Makefile.am b/src/plugins/openssl/Makefile.am
index 5717d04..9198304 100644
--- a/src/plugins/openssl/Makefile.am
+++ b/src/plugins/openssl/Makefile.am
@@ -4,11 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src $(GRISBI_CFLAGS) $(OPENSSL_CFL
 
 if HAVE_SSL
 
-if ENABLE_STATIC
 noinst_LTLIBRARIES = openssl.la
-else
-plugin_LTLIBRARIES = openssl.la
-endif
 openssl_la_SOURCES = openssl.c openssl.h
 openssl_la_LDFLAGS = -module -avoid-version
 openssl_la_LIBADD = $(OPENSSL_LIBS)
diff --git a/src/plugins/openssl/openssl.c b/src/plugins/openssl/openssl.c
index b05e84a..03761f5 100644
--- a/src/plugins/openssl/openssl.c
+++ b/src/plugins/openssl/openssl.c
@@ -29,39 +29,23 @@
 /* This define is required to disable openssl's SSLeay support which redefines
  * _(), which obvisouly breaks glib's gettext macros. */
 #define OPENSSL_DISABLE_OLD_DES_SUPPORT
-#ifdef HAVE_SSL
-#  include <openssl/des.h>
-#endif
+#include <openssl/des.h>
 
 /*START_INCLUDE*/
 #include "openssl.h"
-#include "dialog.h"
-#include "main.h"
 #include "structures.h"
-#include "erreur.h"
 /*END_INCLUDE*/
 
-/*FIX FOR THE LINKING ERROR WITH WINDOWS MSVC*/
-#ifdef _MSC_VER
-#define SYMBOL_IMPORT __declspec(dllimport)
-#else
-#define SYMBOL_IMPORT extern
-#endif
-
 /*START_EXTERN*/
 /*END_EXTERN*/
 
-#ifdef HAVE_SSL
 /*START_STATIC*/
-static gchar *gsb_file_util_ask_for_crypt_key ( gchar * file_name, gchar * additional_message,
+static gchar *gsb_file_util_ask_for_crypt_key ( const gchar * file_name, gchar * additional_message,
                         gboolean encrypt );
-static gulong gsb_file_util_crypt_file ( gchar * file_name, gchar **file_content,
-                        gboolean crypt, gulong length );
 static void gsb_file_util_show_hide_passwd ( GtkToggleButton *togglebutton, GtkWidget *entry );
 /*END_STATIC*/
-#endif
 
-static gchar *saved_crypt_key;
+static gchar *saved_crypt_key = NULL;
 
 #define V1_MARKER "Grisbi encrypted file "
 #define V1_MARKER_SIZE (sizeof(V1_MARKER) - 1)
@@ -72,7 +56,6 @@ static gchar *saved_crypt_key;
 
 
 
-#ifdef HAVE_SSL
 /**
  *
  */
@@ -207,7 +190,6 @@ decrypt_v1(gchar *password, gchar **file_content, gulong length)
     *file_content = decrypted_buf;
     return decrypted_len;
 }
-#endif /* HAVE_SSL */
 
 
 /**
@@ -222,10 +204,9 @@ decrypt_v1(gchar *password, gchar **file_content, gulong length)
  *
  * \return the length of the new file_content or 0 if problem
  */
-gulong gsb_file_util_crypt_file ( gchar * file_name, gchar **file_content,
+gulong gsb_file_util_crypt_file ( const gchar * file_name, gchar **file_content,
                         gboolean crypt, gulong length )
 {
-#ifdef HAVE_SSL
     gchar * key, * message = "";
 
     if ( run.new_crypted_file )
@@ -287,14 +268,6 @@ return_bad_password:
         return returned_length;
     }
 
-#else
-    /* FIXME: import symbols to be sure we can call this kind of stuff. */
-    dialogue_error_hint ( _("This build of Grisbi does not support encryption.\n"
-                        "Please recompile Grisbi with OpenSSL encryption enabled."),
-                        g_strdup_printf ( _("Cannot open encrypted file '%s'"),
-					    file_name ) );
-#endif
-
     return 0;
 }
 
@@ -308,8 +281,7 @@ return_bad_password:
  *
  * \return a string which is the crypt key or NULL if it was
  * cancelled. */
-#ifdef HAVE_SSL
-gchar *gsb_file_util_ask_for_crypt_key ( gchar * file_name, gchar * additional_message,
+gchar *gsb_file_util_ask_for_crypt_key ( const gchar * file_name, gchar * additional_message,
                         gboolean encrypt )
 {
     gchar *key = NULL;
@@ -429,36 +401,9 @@ return_bad_password:
 
     return key;
 }
-#endif
-
-
-#ifndef ENABLE_STATIC
-/** Module name. */
-G_MODULE_EXPORT const gchar plugin_name[] = "openssl";
-#endif
-
-
-
-/** Initialization function. */
-G_MODULE_EXPORT extern void openssl_plugin_register ( void )
-{
-    devel_debug ("Initializating openssl plugin");
-    saved_crypt_key = NULL;
-}
 
 
 
-/** Main function of module. */
-G_MODULE_EXPORT extern gpointer openssl_plugin_run ( gchar * file_name, gchar **file_content,
-                        gboolean crypt, gulong length )
-{
-    /* The final size is cast from a gulong to a gpointer. This is 'ok' because
-     * a gpointer is always the same size. It is quite ugly though, and a proper
-     * fix should be found for this. */
-    return (gpointer) gsb_file_util_crypt_file ( file_name, file_content, crypt, length );
-}
-
-
 void gsb_file_util_show_hide_passwd ( GtkToggleButton *togglebutton, GtkWidget *entry )
 {
     gint visibility;
diff --git a/src/plugins/openssl/openssl.h b/src/plugins/openssl/openssl.h
index ebf0191..5a677e1 100644
--- a/src/plugins/openssl/openssl.h
+++ b/src/plugins/openssl/openssl.h
@@ -3,13 +3,11 @@
 
 /* START_INCLUDE_H */
 #include <glib.h>
-#include <gmodule.h>
 /* END_INCLUDE_H */
 
 /* START_DECLARATION */
-G_MODULE_EXPORT extern void openssl_plugin_register ( void );
-G_MODULE_EXPORT extern gpointer openssl_plugin_run ( gchar * file_name, gchar **file_content,
-					  gboolean crypt, gulong length );
+gulong gsb_file_util_crypt_file ( const gchar * file_name, gchar **file_content,
+                        gboolean crypt, gulong length );
 /* END_DECLARATION */
 
 #endif
diff --git a/src/utils_files.c b/src/utils_files.c
index 042f90d..79e6347 100644
--- a/src/utils_files.c
+++ b/src/utils_files.c
@@ -304,7 +304,7 @@ gint get_utf8_line_from_file ( FILE *fichier,
  *
  * \return file descriptor returned by fopen
  */
-G_MODULE_EXPORT FILE* utf8_fopen (const gchar *utf8filename, gchar *mode )
+FILE* utf8_fopen (const gchar *utf8filename, gchar *mode )
 {
 #ifdef _MSC_VER
     return fopen ( g_locale_from_utf8 ( utf8filename, -1, NULL, NULL, NULL ), mode );
diff --git a/src/utils_files.h b/src/utils_files.h
index 5c8168a..988a3fe 100644
--- a/src/utils_files.h
+++ b/src/utils_files.h
@@ -17,7 +17,7 @@ gint get_utf8_line_from_file ( FILE *fichier,
                         gchar **string,
                         const gchar *coding_system );
 gchar *safe_file_name ( gchar *filename );
-G_MODULE_EXPORT FILE* utf8_fopen ( const gchar *utf8filename, gchar *mode );
+FILE* utf8_fopen ( const gchar *utf8filename, gchar *mode );
 gint utf8_remove ( const gchar *utf8filename );
 gboolean utils_files_create_XDG_dir ( void );
 GtkWidget *utils_files_create_file_chooser ( GtkWidget *parent, gchar * titre );
diff --git a/src/utils_str.c b/src/utils_str.c
index 1a2e043..1954dc4 100644
--- a/src/utils_str.c
+++ b/src/utils_str.c
@@ -235,7 +235,7 @@ gchar *utils_str_localise_decimal_point_from_string ( const gchar *string )
  * @retval  0 when the pointer is NULL or the string empty.
  *
  * */
-G_MODULE_EXPORT gint utils_str_atoi ( const gchar *chaine )
+gint utils_str_atoi ( const gchar *chaine )
 {
     if ((chaine )&&(*chaine))
     {
@@ -254,7 +254,7 @@ G_MODULE_EXPORT gint utils_str_atoi ( const gchar *chaine )
  *
  *
  * */
-G_MODULE_EXPORT gchar * latin2utf8 ( const gchar * inchar)
+gchar * latin2utf8 ( const gchar * inchar)
 {
     return g_locale_from_utf8 ( inchar, -1, NULL, NULL, NULL );
 }
@@ -427,7 +427,7 @@ gint my_strncasecmp ( gchar *string_1,
  * \return a newly allocated string (which is a copy of that string)
  * or NULL if the parameter is NULL or an empty string.
  * */
-G_MODULE_EXPORT gchar *my_strdup ( const gchar *string )
+gchar *my_strdup ( const gchar *string )
 {
     if ( string && strlen (string) )
 	return g_strdup (string);
diff --git a/src/utils_str.h b/src/utils_str.h
index 9042027..53c40a2 100644
--- a/src/utils_str.h
+++ b/src/utils_str.h
@@ -2,7 +2,6 @@
 #define _UTILS_STR_H (1)
 
 #include <glib.h>
-#include <gmodule.h>
 
 
 #ifdef _WIN32
@@ -23,7 +22,7 @@ gchar * gsb_string_remplace_joker ( const gchar *chaine, gchar *new_str );
 gchar * gsb_string_remplace_string ( gchar *str, gchar *old_str, gchar *new_str );
 gchar * gsb_string_truncate ( gchar * string );
 gchar *gsb_string_uniform_new_line ( const gchar *chaine, gint nbre_char );
-G_MODULE_EXPORT gchar * latin2utf8 ( const gchar * inchar);
+gchar * latin2utf8 ( const gchar * inchar);
 gchar *limit_string ( gchar *string,
                         gint length );
 gint my_strcasecmp ( const gchar *string_1, const gchar *string_2 );
@@ -31,11 +30,11 @@ gint my_strcmp ( gchar *string_1, gchar *string_2 );
 gchar *my_strdelimit ( const gchar *string,
                         const gchar *delimiters,
                         const gchar *new_delimiters );
-G_MODULE_EXPORT gchar *my_strdup ( const gchar *string );
+gchar *my_strdup ( const gchar *string );
 gint my_strncasecmp ( gchar *string_1,
                         gchar *string_2,
                         gint longueur );
-G_MODULE_EXPORT gint utils_str_atoi ( const gchar *chaine );
+gint utils_str_atoi ( const gchar *chaine );
 gint utils_str_get_nbre_motifs ( const gchar *chaine, const gchar *motif );
 gchar *utils_str_itoa ( gint integer );
 gchar *utils_str_dtostr ( gdouble number, gint nbre_decimal, gboolean canonical );


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list