Displaying 2 results from an estimated 2 matches for "nperr_no_error".
Did you mean:
err_no_error
2007 Nov 06
0
configure.ac src/Makefile.am src/plugin.c
...AUDIO_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+ $(SWFDEC_LIBS)
libswfdecmozilla_la_SOURCES = \
plugin.c \
diff --git a/src/plugin.c b/src/plugin.c
index 5cf4c5a..bec4741 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -128,6 +128,25 @@ NP_GetValue (void* reserved, NPPVariable var, void* out)
return NPERR_NO_ERROR;
}
+static gboolean
+make_sure_this_thing_stays_in_memory (void)
+{
+ static gboolean inited = FALSE;
+ GModule *module;
+
+ if (inited)
+ return TRUE;
+ inited = TRUE;
+ if (!g_module_supported ())
+ return FALSE;
+ module = g_module_open (PLUGIN_DIR G_DIR_SEPARATOR_S "libs...
2007 Nov 06
1
src/plugin.c
...amin Otte <otte at gnome.org>
Date: Tue Nov 6 22:24:16 2007 +0100
add Gentoo protection
diff --git a/src/plugin.c b/src/plugin.c
index bec4741..258307c 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -128,22 +128,31 @@ NP_GetValue (void* reserved, NPPVariable var, void* out)
return NPERR_NO_ERROR;
}
-static gboolean
-make_sure_this_thing_stays_in_memory (void)
+/* This mess is unfortunately necessary */
+#define PLUGIN_FILE PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX
+G_MODULE_EXPORT gboolean
+swfdec_mozilla_make_sure_this_thing_stays_in_memory (void)
{...