aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed-utils.c')
-rw-r--r--embed/ephy-embed-utils.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 672c46bc3..a5c77a782 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -78,42 +78,6 @@ ephy_embed_utils_link_message_parse (char *message)
}
}
-/**
- * ephy_embed_utils_get_title_composite:
- * @view: an #EphyView
- *
- * Returns the title of the web page loaded in @embed.
- *
- * This differs from #ephy_embed_utils_get_title in that this function
- * will return a special title while the page is still loading.
- *
- * Return value: @view's web page's title. Will never be %NULL.
- **/
-const char *
-ephy_embed_utils_get_title_composite (EphyWebView *view)
-{
- const char *title = "";
- const char *loading_title;
- gboolean is_loading, is_blank;
-
- g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), NULL);
-
- is_loading = ephy_web_view_get_load_status (view);
- is_blank = ephy_web_view_get_is_blank (view);
- loading_title = ephy_web_view_get_loading_title (view);
- title = ephy_web_view_get_title (view);
-
- if (is_blank)
- {
- if (is_loading)
- title = loading_title;
- else
- title = _("Blank page");
- }
-
- return title != NULL ? title : "";
-}
-
gboolean
ephy_embed_utils_address_has_web_scheme (const char *address)
{