aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-02-28 08:18:59 +0800
committerChristian Persch <chpe@src.gnome.org>2009-02-28 08:18:59 +0800
commita5cd94cf154c39e3a683b71407ff4f4f8eeab8a2 (patch)
tree9414ca348157ca270f10e76aa7240d8a85e58b84 /plugins
parent1d31b67408512d9b3f705ac57296212074beb9b1 (diff)
downloadgsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar.gz
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar.bz2
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar.lz
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar.xz
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.tar.zst
gsoc2013-epiphany-a5cd94cf154c39e3a683b71407ff4f4f8eeab8a2.zip
Try again to fix gecko 1.9.1 build. Bug #565669
svn path=/branches/gnome-2-26/; revision=8822
Diffstat (limited to 'plugins')
-rw-r--r--plugins/desktop-file/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/desktop-file/plugin.cpp b/plugins/desktop-file/plugin.cpp
index dac2201a1..9edc3c727 100644
--- a/plugins/desktop-file/plugin.cpp
+++ b/plugins/desktop-file/plugin.cpp
@@ -534,7 +534,6 @@ NP_Initialize (NPNetscapeFuncs *moz_funcs,
plugin_funcs->size = sizeof (NPPluginFuncs);
plugin_funcs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR;
- plugin_funcs->newp = NewNPP_NewProc (plugin_new_instance);
/* FUCK YOU, MOZILLA! */
#if HAVE_GECKO_1_9_1
@@ -553,6 +552,7 @@ NP_Initialize (NPNetscapeFuncs *moz_funcs,
plugin_funcs->getvalue = NPP_GetValueProcPtr (plugin_get_value);
plugin_funcs->setvalue = NPP_SetValueProcPtr (NULL);
#else
+ plugin_funcs->newp = NewNPP_NewProc (plugin_new_instance);
plugin_funcs->destroy = NewNPP_DestroyProc (plugin_destroy_instance);
plugin_funcs->setwindow = NewNPP_SetWindowProc (NULL);
plugin_funcs->newstream = NewNPP_NewStreamProc (plugin_new_stream);