aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history-item.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-12-30 07:39:23 +0800
committerXan Lopez <xan@src.gnome.org>2007-12-30 07:39:23 +0800
commit2a776b7f4ea30e814b2703a50633143b5b0ebc95 (patch)
tree5bbcfc00e1a574c903b56dc4c2bce782bfe28d4a /embed/ephy-history-item.c
parent8fdb4086efaad93d0c9349520081a9608853fca0 (diff)
downloadgsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar.gz
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar.bz2
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar.lz
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar.xz
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.tar.zst
gsoc2013-epiphany-2a776b7f4ea30e814b2703a50633143b5b0ebc95.zip
Make MozillaHistoryItem create url and title on demand.
Adapt code to the API change. svn path=/trunk/; revision=7835
Diffstat (limited to 'embed/ephy-history-item.c')
-rw-r--r--embed/ephy-history-item.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/ephy-history-item.c b/embed/ephy-history-item.c
index 83703943c..f5089b294 100644
--- a/embed/ephy-history-item.c
+++ b/embed/ephy-history-item.c
@@ -18,6 +18,8 @@
*
*/
+#include "config.h"
+
#include "ephy-history-item.h"
GType
@@ -41,14 +43,14 @@ ephy_history_item_get_type (void)
return type;
}
-const char*
+char*
ephy_history_item_get_url (EphyHistoryItem *item)
{
EphyHistoryItemIface *iface = EPHY_HISTORY_ITEM_GET_IFACE (item);
return iface->get_url (item);
}
-const char*
+char*
ephy_history_item_get_title (EphyHistoryItem *item)
{
EphyHistoryItemIface *iface = EPHY_HISTORY_ITEM_GET_IFACE (item);