[totem] browser-plugin: Remove obsolete g_type_init() call



commit 4b64a5dd74807dbc1ba8ab5528fd0e326efa0a47
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Mar 8 16:56:50 2013 +0100

    browser-plugin: Remove obsolete g_type_init() call

 browser-plugin/totemPluginGlue.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/browser-plugin/totemPluginGlue.cpp b/browser-plugin/totemPluginGlue.cpp
index b3550ac..b53adaa 100644
--- a/browser-plugin/totemPluginGlue.cpp
+++ b/browser-plugin/totemPluginGlue.cpp
@@ -314,8 +314,6 @@ NP_GetMIMEDescription (void)
        if (mime_list != NULL)
                return mime_list;
 
-       g_type_init ();
-
        list = g_string_new (NULL);
 
        /* Load the configuration files for the enabled plugins */
@@ -397,8 +395,6 @@ NP_Initialize (NPNetscapeFuncs *aMozillaVTable,
 {
        g_debug ("NP_Initialize");
 
-       g_type_init ();
-
        if (aMozillaVTable == NULL || aPluginVTable == NULL)
                return NPERR_INVALID_FUNCTABLE_ERROR;
 


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