[gnome-panel] clock: fix crash when closing preferences dialog
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] clock: fix crash when closing preferences dialog
- Date: Sat, 7 Dec 2013 18:16:21 +0000 (UTC)
commit d09d93c43d633e49dbb174c4463b791de88b9764
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Dec 7 20:15:44 2013 +0200
clock: fix crash when closing preferences dialog
gweather_location_entry_set_location allows using NULL to clear
entry, but there is bug - #708586. So for now don't use this
function. That bug is fixed in libgweather 3.10.1 version.
applets/clock/clock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index a0b0630..4f61bb4 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -1616,7 +1616,7 @@ edit_clear (ClockData *cd)
GtkWidget *lon_combo = _clock_get_widget (cd, "edit-location-longitude-combo");
/* clear out the old data */
- gweather_location_entry_set_location (cd->location_entry, NULL);
+ //gweather_location_entry_set_location (cd->location_entry, NULL);
gweather_timezone_menu_set_tzid (cd->zone_combo, NULL);
gtk_entry_set_text (GTK_ENTRY (lat_entry), "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]