From 3b1d26f1fd1107ed5196c8fb48dd40bbf888cda4 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 21 Jan 2003 12:33:23 +0000 Subject: Api changes. 2003-01-21 Marco Pesenti Gritti * 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. --- embed/mozilla/BaseProtocolContentHandler.cpp | 2 +- embed/mozilla/StartHereProtocolHandler.cpp | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'embed/mozilla') 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 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 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); -- cgit v1.2.3