gnome-panel r11002 - trunk/applets/clock
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r11002 - trunk/applets/clock
- Date: Tue, 8 Apr 2008 13:23:45 +0100 (BST)
Author: vuntz
Date: Tue Apr 8 13:23:44 2008
New Revision: 11002
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11002&view=rev
Log:
2008-04-08 Vincent Untz <vuntz gnome org>
* clock.c: (location_set_current_cb): don't refresh the map if there's
no map. Fix a crash.
Modified:
trunk/applets/clock/ChangeLog
trunk/applets/clock/clock.c
Modified: trunk/applets/clock/clock.c
==============================================================================
--- trunk/applets/clock/clock.c (original)
+++ trunk/applets/clock/clock.c Tue Apr 8 13:23:44 2008
@@ -2083,7 +2083,8 @@
info = clock_location_get_weather_info (loc);
location_weather_updated_cb (loc, info, cd);
- clock_map_refresh (CLOCK_MAP (cd->map_widget));
+ if (cd->map_widget)
+ clock_map_refresh (CLOCK_MAP (cd->map_widget));
update_location_tiles (cd);
save_cities_store (cd);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]