diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-12-30 07:39:23 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-12-30 07:39:23 +0800 |
commit | 2a776b7f4ea30e814b2703a50633143b5b0ebc95 (patch) | |
tree | 5bbcfc00e1a574c903b56dc4c2bce782bfe28d4a /embed/mozilla/mozilla-history-item.h | |
parent | 8fdb4086efaad93d0c9349520081a9608853fca0 (diff) | |
download | gsoc2013-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/mozilla/mozilla-history-item.h')
-rw-r--r-- | embed/mozilla/mozilla-history-item.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/mozilla/mozilla-history-item.h b/embed/mozilla/mozilla-history-item.h index de764a665..0e26f155e 100644 --- a/embed/mozilla/mozilla-history-item.h +++ b/embed/mozilla/mozilla-history-item.h @@ -4,6 +4,8 @@ #include <glib.h> #include <glib-object.h> +#include "mozilla-embed.h" + G_BEGIN_DECLS #define MOZILLA_TYPE_HISTORY_ITEM (mozilla_history_item_get_type()) @@ -25,13 +27,12 @@ struct _MozillaHistoryItem { GObject parent_instance; - char *url; - char *title; + MozillaEmbed *embed; int nth; }; GType mozilla_history_item_get_type (void) G_GNUC_CONST; -MozillaHistoryItem *mozilla_history_item_new (const char *url, const char *title, int index) G_GNUC_MALLOC; +MozillaHistoryItem *mozilla_history_item_new (MozillaEmbed *embed, int index) G_GNUC_MALLOC; G_END_DECLS |