Updating branch refs/heads/master
         to 593a5431b352c0d68676223485f16e40781e7379 (commit)
       from e8c6d399785059b04475bcd0bad08dc6a93c7b79 (commit)

commit 593a5431b352c0d68676223485f16e40781e7379
Author: Christian Persch <[email protected]>
Date:   Mon Mar 22 22:28:16 2010 +0100

    Add support to cache the gio module (bug #6337).

 exo-gio-module/Makefile.am  |    2 +-
 exo-gio-module/exo-module.c |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/exo-gio-module/Makefile.am b/exo-gio-module/Makefile.am
index 86db199..642623e 100644
--- a/exo-gio-module/Makefile.am
+++ b/exo-gio-module/Makefile.am
@@ -33,7 +33,7 @@ libexo_module_1_la_LDFLAGS =                                  
        \
        -avoid-version                                                  \
        -module                                                         \
        -no-undefined                                                   \
-       -export-symbols-regex '^g_io_module_(load|unload)'
+       -export-symbols-regex '^g_io_module_(load|unload|query)'
 
 libexo_module_1_la_DEPENDENCIES =                                      \
        $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_API).la
diff --git a/exo-gio-module/exo-module.c b/exo-gio-module/exo-module.c
index 0d7cbd8..4ee1a0c 100644
--- a/exo-gio-module/exo-module.c
+++ b/exo-gio-module/exo-module.c
@@ -181,3 +181,13 @@ G_MODULE_EXPORT void
 g_io_module_unload (GIOModule   *module)
 {
 }
+
+G_MODULE_EXPORT gchar **
+g_io_module_query (void)
+{
+  gchar *eps[] = {
+    G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME,
+    NULL
+  };
+  return g_strdupv (eps);
+}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to