[kazehakase-svn] [3774] 2009-07-25 Hiroyuki Ikezoe <poinc****@ikezo*****>

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Sat Jul 25 14:20:02 JST 2009


Revision: 3774
          http://sourceforge.jp/projects/kazehakase/svn/view?view=rev&revision=3774
Author:   ikezoe
Date:     2009-07-25 14:20:02 +0900 (Sat, 25 Jul 2009)

Log Message:
-----------
2009-07-25  Hiroyuki Ikezoe  <poinc****@ikezo*****>

	* module/embed/gecko/kz-mozwrapper.[cpp|h],
	module/embed/gecko/kz-mozthumbnailer.[cpp|h]:
	EggPixbufThumbSize -> EggPixbufThumbnailSize

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

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2009-05-30 15:22:05 UTC (rev 3773)
+++ kazehakase/trunk/ChangeLog	2009-07-25 05:20:02 UTC (rev 3774)
@@ -1,3 +1,9 @@
+2009-07-25  Hiroyuki Ikezoe  <poinc****@ikezo*****>
+
+	* module/embed/gecko/kz-mozwrapper.[cpp|h],
+	module/embed/gecko/kz-mozthumbnailer.[cpp|h]:
+	EggPixbufThumbSize -> EggPixbufThumbnailSize
+
 2009-05-31  Mamoru Tasaka <mtasa****@ioa*****>
 
 	* configure.ac:

Modified: kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp	2009-05-30 15:22:05 UTC (rev 3773)
+++ kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.cpp	2009-07-25 05:20:02 UTC (rev 3774)
@@ -40,7 +40,7 @@
 
 gboolean
 KzMozThumbnailer::CreateThumbnail(nsIDOMWindow *domWindow, const gchar *uri,
-                                  guint last_modified, EggPixbufThumbSize size)
+                                  guint last_modified, EggPixbufThumbnailSize size)
 {
 	nsresult rv;
 	
@@ -59,7 +59,7 @@
 	float sx = (float) size / KZ_CANVAS_WIDTH;
 	float sy = (float) KZ_THUMB_HEIGHT / KZ_CANVAS_HEIGHT;
 	domCanvas->Scale(sx, sy);
-	rv = domCanvas->DrawWindow(domWindow, 0, 0, KZ_CANVAS_WIDTH, KZ_CANVAS_HEIGHT, NS_LITERAL_STRING("rgb(0,0,0)")); 
+	rv = domCanvas->DrawWindow(domWindow, 0, 0, KZ_CANVAS_WIDTH, KZ_CANVAS_HEIGHT, nsEmbedString("rgb(0,0,0)")); 
 	if (NS_FAILED(rv)) return FALSE;
 
 	nsCOMPtr<nsIInputStream> imgStream;

Modified: kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.h
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.h	2009-05-30 15:22:05 UTC (rev 3773)
+++ kazehakase/trunk/module/embed/gecko/kz-mozthumbnailer.h	2009-07-25 05:20:02 UTC (rev 3774)
@@ -33,7 +33,7 @@
 	gboolean  CreateThumbnail     (nsIDOMWindow *domWindow,
                                        const gchar *uri,
                                        guint last_modified,
-                                       EggPixbufThumbSize size);
+                                       EggPixbufThumbnailSize size);
 #endif
 };
 

Modified: kazehakase/trunk/module/embed/gecko/kz-mozwrapper.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozwrapper.cpp	2009-05-30 15:22:05 UTC (rev 3773)
+++ kazehakase/trunk/module/embed/gecko/kz-mozwrapper.cpp	2009-07-25 05:20:02 UTC (rev 3774)
@@ -2067,7 +2067,7 @@
 nsresult
 KzMozWrapper::CreateThumbnail (const gchar *uri,
 			       guint last_modified,
-			       EggPixbufThumbSize size)
+			       EggPixbufThumbnailSize size)
 {
 	nsCOMPtr<nsIDOMWindow> domWindow;
 	GetDOMWindow(getter_AddRefs(domWindow));

Modified: kazehakase/trunk/module/embed/gecko/kz-mozwrapper.h
===================================================================
--- kazehakase/trunk/module/embed/gecko/kz-mozwrapper.h	2009-05-30 15:22:05 UTC (rev 3773)
+++ kazehakase/trunk/module/embed/gecko/kz-mozwrapper.h	2009-07-25 05:20:02 UTC (rev 3774)
@@ -152,7 +152,7 @@
 #ifdef MOZ_NSICANVASRENDERINGCONTEXTINTERNAL_HAVE_GETINPUTSTREAM_
 	nsresult CreateThumbnail	 (const gchar *uri,
 					  guint last_modified,
-					  EggPixbufThumbSize size);
+					  EggPixbufThumbnailSize size);
 #endif
 
 	nsCOMPtr<nsIWebBrowser>    mWebBrowser;




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