[kazehakase-svn] [3397] *Lazy include for own header

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Sun Feb 24 17:20:26 JST 2008


Revision: 3397
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3397
Author:   pal_gene
Date:     2008-02-24 17:20:26 +0900 (Sun, 24 Feb 2008)

Log Message:
-----------
*Lazy include for own header
(nsString behavior seems to be changed between internal-defined and exported,
it makes to go away runtime undefined symbol error from embed/gecko.so.)

	modified:   module/embed/gecko/kz-mozthumbnailer.cpp

Modified Paths:
--------------
    kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp

Modified: kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp	2008-02-24 08:20:22 UTC (rev 3396)
+++ kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp	2008-02-24 08:20:26 UTC (rev 3397)
@@ -23,19 +23,21 @@
 
 #include "kazehakase.h"
 
-#include "kz-mozthumbnailer.h"
-
 #define MOZILLA_INTERNAL_API
 #include <nsIComponentManager.h>
 #ifdef MOZ_NSICANVASRENDERINGCONTEXTINTERNAL_HAVE_GETINPUTSTREAM_
 #  include <nsICanvasRenderingContextInternal.h>
 #  include <nsIDOMCanvasRenderingContext2D.h>
-#endif
 #undef MOZILLA_INTERNAL_API
 
-#ifdef MOZ_NSICANVASRENDERINGCONTEXTINTERNAL_HAVE_GETINPUTSTREAM_
+// MUSE SET HERE that after nsStringAPI included with MOZILLA_INTERNAL_API.
+#include "kz-mozthumbnailer.h"
+
+
 #define KZ_CANVAS_WIDTH 1024
 #define KZ_CANVAS_HEIGHT 800
+
+
 gboolean
 KzMozThumbnailer::CreateThumbnail(nsIDOMWindow *domWindow, const gchar *uri,
                                   guint last_modified, EggPixbufThumbSize size)




More information about the Kazehakase-cvs mailing list
Back to archive index