aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-10 21:16:30 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-10 21:16:30 +0800
commitbc2beacdfff2adfc2c8ec02ddb868cd02b55963d (patch)
tree9dd49fea5695d97e0dbf176f1bb564622f89748c
parent82bedf4e3216726b504d5ff68134f72f54b2dc41 (diff)
downloadgsoc2013-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
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/toolbar.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b549b98d8..472f4b81e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * src/toolbar.c: (toolbar_set_location):
+
+ Clear the location on NULL
+
2003-06-09 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-notebook.c: (ephy_notebook_set_page_title):
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