aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-26 06:55:17 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-26 06:55:17 +0800
commit29543c6eebf0712e7c2006d41201d43f1c8028ad (patch)
treec81c3016d02c3cc83e23c4fcec7ad82f8b5dd75e /embed
parente5bd6a33e596a94e6a33fcb4b3f13134b679dcf2 (diff)
downloadgsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar.gz
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar.bz2
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar.lz
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar.xz
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.tar.zst
gsoc2013-epiphany-29543c6eebf0712e7c2006d41201d43f1c8028ad.zip
get_title returns const char * now.
svn path=/trunk/; revision=7570
Diffstat (limited to 'embed')
-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 *