Displaying 3 results from an estimated 3 matches for "g_module_open".
Did you mean:
lt_module_open
2013 Jan 18
1
Updating gtk2
What does this error mean?
Updating : gtk2
35/178
g_module_open() failed for
/usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so:
/usr/local/lib/libpng12.so.0: undefined symbol: inflateReset
/usr/bin/gtk-query-immodules-2.0-64: /usr/local/lib/libpng12.so.0: no
version information available (required by /usr/lib64/libcairo.so.2)
Do I really need gtk2 runni...
2007 Nov 06
1
src/plugin.c
...; G_MODULE_SUFFIX
+G_MODULE_EXPORT gboolean
+swfdec_mozilla_make_sure_this_thing_stays_in_memory (void)
{
static gboolean inited = FALSE;
GModule *module;
+ gpointer check;
if (inited)
return TRUE;
- inited = TRUE;
if (!g_module_supported ())
return FALSE;
- module = g_module_open (PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX, 0);
+ module = g_module_open (PLUGIN_FILE, 0);
if (module == NULL)
return FALSE;
+ /* now load this function name to be sure it we've loaded ourselves */
+ if (!g_module_symbol (module, "swfdec_mozilla_...
2007 Nov 06
0
configure.ac src/Makefile.am src/plugin.c
..., 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 "libswfdecmozilla." G_MODULE_SUFFIX, 0);
+ if (module == NULL)
+ return FALSE;
+ g_module_make_resident (module);
+ g_module_close (module);
+ return TRUE;
+}
+
static NPError
plugin_new (NPMIMEType mime_type, NPP instance,
uint16_t mode, int16_...