From 5aee0deca12e14554ce0fa0d4b02613e99ba77a9 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 2 Dec 2009 17:01:24 -0500 Subject: 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 --- src/ephy-location-action.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ephy-location-action.h') diff --git a/src/ephy-location-action.h b/src/ephy-location-action.h index 2fa69a602..e94931a3a 100644 --- a/src/ephy-location-action.h +++ b/src/ephy-location-action.h @@ -60,8 +60,7 @@ GType ephy_location_action_get_type (void); const char *ephy_location_action_get_address (EphyLocationAction *action); void ephy_location_action_set_address (EphyLocationAction *action, - const char *address, - const char *typed_address); + const char *address); G_END_DECLS -- cgit v1.2.3