aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2007-12-27 03:00:00 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-12-27 03:00:00 +0800
commit7236ef4936158ed4f713d5d5da061e0696e9ea76 (patch)
treec3580d9a07dedbcfc6ade32b1dc195031a7f1a79 /lib
parent0b39aeca159fdd8126cb7423dbe8753bf1b5c1e7 (diff)
downloadgsoc2013-epiphany-7236ef4936158ed4f713d5d5da061e0696e9ea76.tar.gz
gsoc2013-epiphany-7236ef4936158ed4f713d5d5da061e0696e9ea76.tar.zst
gsoc2013-epiphany-7236ef4936158ed4f713d5d5da061e0696e9ea76.zip
Catch bookmarks and history in EphyLocationActionPrivate, it's smarter.
Fixes bug #505777. svn path=/trunk/; revision=7828
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c5
-rw-r--r--lib/widgets/ephy-location-entry.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index c531b7169..2121fe9cf 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -941,13 +941,14 @@ extracell_data_func (GtkCellLayout *cell_layout,
void
ephy_location_entry_set_completion_func (EphyLocationEntry *le,
- GtkEntryCompletionMatchFunc completion_func)
+ GtkEntryCompletionMatchFunc completion_func,
+ gpointer user_data)
{
EphyLocationEntryPrivate *priv = le->priv;
GtkEntryCompletion *completion;
completion = gtk_entry_get_completion (GTK_ENTRY (priv->icon_entry->entry));
- gtk_entry_completion_set_match_func (completion, completion_func, NULL, NULL);
+ gtk_entry_completion_set_match_func (completion, completion_func, user_data, NULL);
}
void
diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h
index c7e905bc5..0833bedf4 100644
--- a/lib/widgets/ephy-location-entry.h
+++ b/lib/widgets/ephy-location-entry.h
@@ -82,7 +82,8 @@ void ephy_location_entry_set_location (EphyLocationEntry *le,
const char *typed_address);
void ephy_location_entry_set_completion_func (EphyLocationEntry *le,
- GtkEntryCompletionMatchFunc completion_func);
+ GtkEntryCompletionMatchFunc completion_func,
+ gpointer user_data);
const char *ephy_location_entry_get_location (EphyLocationEntry *le);