aboutsummaryrefslogtreecommitdiffstats
path: root/embed/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'embed/webkit')
-rw-r--r--embed/webkit/webkit-embed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp
index 08d1e5bff..ef24df654 100644
--- a/embed/webkit/webkit-embed.cpp
+++ b/embed/webkit/webkit-embed.cpp
@@ -430,11 +430,11 @@ impl_go_up (EphyEmbed *embed)
{
}
-static char *
+static const char *
impl_get_title (EphyEmbed *embed)
{
WebKitFrame *frame = webkit_page_get_main_frame (WEBKIT_EMBED (embed)->priv->page);
- return g_strdup (webkit_frame_get_title (frame));
+ return webkit_frame_get_title (frame);
}
static char *