[Webkit-unassigned] [Bug 49966] [GTK] Add an easy API to fetch a page's favicon
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 25 03:43:37 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49966
object.lin at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #74641|0 |1
is obsolete| |
Attachment #74642|0 |1
is obsolete| |
--- Comment #5 from object.lin at gmail.com 2010-11-25 03:43:37 PST ---
Created an attachment (id=74847)
--> (https://bugs.webkit.org/attachment.cgi?id=74847&action=review)
favicon api for gtk webview
provide a api to get page's favicon for gtk webview
GdkPixbuf * webkit_web_view_get_icon(WebKitWebView* webView)
I also modify GtkLauncher to show an example.
The width and height of returned GdkPixbuf is same with what web site favicon.ico.
if website have a 48x48 favicon. the size of GdkPixbuf will be 48x48
the parameter IntSize(16,16) does not make it to return a 16x16 icon. (I don't know why?)
it try to get website favicon, if fail will return a default icon.
if fail to get a default icon. it will return NULL.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list