mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
browser-plugin: Make sure to initialize GType
While most browsers use GTK+ on GNOME in some fashion, Opera and Konqueror do not. We need to explicitly initialize GType before the browser plugin works properly.
This commit is contained in:
parent
d05d748fe2
commit
ecdd0875df
1 changed files with 2 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ NP_Initialize(NPNetscapeFuncs *pfuncs, NPPluginFuncs *plugin)
|
|||
/* global initialization routine, called once when plugin
|
||||
is loaded */
|
||||
|
||||
g_type_init ();
|
||||
|
||||
g_debug ("plugin loaded");
|
||||
|
||||
memcpy (&funcs, pfuncs, sizeof (funcs));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue