diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-10 21:16:30 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-10 21:16:30 +0800 |
commit | bc2beacdfff2adfc2c8ec02ddb868cd02b55963d (patch) | |
tree | 9dd49fea5695d97e0dbf176f1bb564622f89748c /src | |
parent | 82bedf4e3216726b504d5ff68134f72f54b2dc41 (diff) | |
download | gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar.gz gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar.bz2 gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar.lz gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar.xz gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.tar.zst gsoc2013-epiphany-bc2beacdfff2adfc2c8ec02ddb868cd02b55963d.zip |
Clear the location on NULL
2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org>
* src/toolbar.c: (toolbar_set_location):
Clear the location on NULL
Diffstat (limited to 'src')
-rwxr-xr-x | src/toolbar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/toolbar.c b/src/toolbar.c index be3273e11..1601953cd 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -628,7 +628,8 @@ toolbar_set_location (Toolbar *t, g_return_if_fail (location != NULL); ephy_location_entry_set_location - (EPHY_LOCATION_ENTRY (location), alocation); + (EPHY_LOCATION_ENTRY (location), + alocation ? alocation : ""); } void |