epiphany r8822 - branches/gnome-2-26/plugins/desktop-file



Author: chpe
Date: Sat Feb 28 00:18:59 2009
New Revision: 8822
URL: http://svn.gnome.org/viewvc/epiphany?rev=8822&view=rev

Log:
Try again to fix gecko 1.9.1 build. Bug #565669

Modified:
   branches/gnome-2-26/plugins/desktop-file/plugin.cpp

Modified: branches/gnome-2-26/plugins/desktop-file/plugin.cpp
==============================================================================
--- branches/gnome-2-26/plugins/desktop-file/plugin.cpp	(original)
+++ branches/gnome-2-26/plugins/desktop-file/plugin.cpp	Sat Feb 28 00:18:59 2009
@@ -534,7 +534,6 @@
 
 	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 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]