diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 5 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.h | 3 |
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); |