diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-21 20:33:23 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-21 20:33:23 +0800 |
commit | 3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4 (patch) | |
tree | f3a6007429aee289b81f6fcc555ead9abfd83caf /embed/mozilla | |
parent | 98a7051020195ab2b8a1174e60ab72e950dda42e (diff) | |
download | gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.gz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.bz2 gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.lz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.xz gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.tar.zst gsoc2013-epiphany-3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4.zip |
Api changes.
2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/mozilla/BaseProtocolContentHandler.cpp:
* embed/mozilla/StartHereProtocolHandler.cpp:
Api changes.
* embed/ephy-embed-shell.c: (ephy_embed_shell_finalize):
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_host_visited),
(ephy_history_set_page_title), (ephy_history_remove):
* lib/widgets/ephy-spinner.c: (ephy_spinner_expose),
(ephy_spinner_size_request):
* lib/widgets/ephy-spinner.h:
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize):
* src/ephy-shell.c: (ephy_shell_finalize),
(ephy_shell_get_autocompletion):
* src/ephy-spinner-action.c: (create_tool_item):
Nicer spinner size. Fix references problem
and a lot of logs to make it easy to debug it.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/BaseProtocolContentHandler.cpp | 2 | ||||
-rw-r--r-- | embed/mozilla/StartHereProtocolHandler.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/embed/mozilla/BaseProtocolContentHandler.cpp b/embed/mozilla/BaseProtocolContentHandler.cpp index 741d21722..d381d0b17 100644 --- a/embed/mozilla/BaseProtocolContentHandler.cpp +++ b/embed/mozilla/BaseProtocolContentHandler.cpp @@ -64,7 +64,7 @@ NS_IMETHODIMP GBaseProtocolContentHandler::NewChannel(nsIURI *aURI, nsCOMPtr<nsIChannel> channel; rv = NS_NewInputStreamChannel(getter_AddRefs(channel), aURI, - iStream, mMimeType, NS_LITERAL_CSTRING(""), 0); + iStream, mMimeType, NS_LITERAL_CSTRING("")); if (NS_FAILED(rv)) return rv; NS_IF_ADDREF (*_retval = channel); diff --git a/embed/mozilla/StartHereProtocolHandler.cpp b/embed/mozilla/StartHereProtocolHandler.cpp index a4548378d..369b9123d 100644 --- a/embed/mozilla/StartHereProtocolHandler.cpp +++ b/embed/mozilla/StartHereProtocolHandler.cpp @@ -160,17 +160,13 @@ NS_IMETHODIMP GStartHereProtocolHandler::NewChannel(nsIURI *aURI, if (NS_FAILED (rv)) return NS_ERROR_FAILURE; nsCOMPtr<nsIInputStream> iStream; - PRUint32 size; - - rv = sStream->GetLength(&size); - if (NS_FAILED(rv)) return rv; rv = sStream->NewInputStream(0, getter_AddRefs(iStream)); if (NS_FAILED(rv)) return rv; rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), uri, iStream, NS_LITERAL_CSTRING("text/xml"), - NS_LITERAL_CSTRING("utf-8"), size); + NS_LITERAL_CSTRING("utf-8")); g_free (buf); g_object_unref (sh); |