diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-03 06:01:24 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-05 02:03:23 +0800 |
commit | 5aee0deca12e14554ce0fa0d4b02613e99ba77a9 (patch) | |
tree | e5d390c9e4630010212dc8ca8c78ce5dd7a95dde /lib/widgets/ephy-location-entry.h | |
parent | 0fdd13a976543bf83ed360d42eabf085294195f1 (diff) | |
download | gsoc2013-epiphany-5aee0deca12e14554ce0fa0d4b02613e99ba77a9.tar.gz gsoc2013-epiphany-5aee0deca12e14554ce0fa0d4b02613e99ba77a9.tar.zst gsoc2013-epiphany-5aee0deca12e14554ce0fa0d4b02613e99ba77a9.zip |
Remove redundant parameters in location-set API
EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and
@typed_address parameter, while both are useful we only end up using one so we
can easily decide which one to use in ephy-window.c instead of carrying both
around until ephy-location-entry.c
Bonus: make ephy_location_entry_set_location accept NULL as @address safely.
Bug #603651
Diffstat (limited to 'lib/widgets/ephy-location-entry.h')
-rw-r--r-- | lib/widgets/ephy-location-entry.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index 708510dcf..2bb0d46c0 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -76,8 +76,7 @@ void ephy_location_entry_set_completion (EphyLocationEntry *entry, guint favicon_col); void ephy_location_entry_set_location (EphyLocationEntry *entry, - const char *address, - const char *typed_address); + const char *address); void ephy_location_entry_set_match_func (EphyLocationEntry *entry, GtkEntryCompletionMatchFunc match_func, |