gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/plugin plugin.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash/plugin plugin.cpp
Date: Sat, 21 Oct 2006 16:18:51 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/21 16:18:51

Modified files:
        plugin         : plugin.cpp 

Log message:
        Think I was way too sedated/tired when changing these things...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.70&r2=1.71

Patches:
Index: plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- plugin.cpp  21 Oct 2006 15:37:36 -0000      1.70
+++ plugin.cpp  21 Oct 2006 16:18:51 -0000      1.71
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: plugin.cpp,v 1.70 2006/10/21 15:37:36 nihilus Exp $ */
+/* $Id: plugin.cpp,v 1.71 2006/10/21 16:18:51 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -349,15 +349,15 @@
        
        _width = aWindow->width;
        _height = aWindow->height;
-       if(toolkit == NPNVGtk2){ //GTK >=2
+       //if(toolkit == NPNVGtk2){ //GTK >=2
        _window = reinterpret_cast<Window> (aWindow->window);
+       //return NPERR_NO_ERROR;
+       //}
+       //else if(toolkit == NPNVGtk12){ //GTK >=1.2
+       //_window = (Window)(aWindow->window);
+       //return NPERR_NO_ERROR;
+       //}
        return NPERR_NO_ERROR;
-       }
-       else if(toolkit == NPNVGtk12){ //GTK >=1.2
-       _window = (Window)(aWindow->window);
-       return NPERR_NO_ERROR;
-       }
-       else return NPERR_INCOMPATIBLE_VERSION_ERROR;
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]