r39624 - in /desktop/unstable/gnome-panel/debian: changelog patches/fix-gweather-crash.patch patches/series
sjoerd at users.alioth.debian.org
sjoerd at users.alioth.debian.org
Sun Sep 22 18:35:12 UTC 2013
Author: sjoerd
Date: Sun Sep 22 18:35:12 2013
New Revision: 39624
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=39624
Log:
* debian/patches/fix-gweather-crash.patch:
- Added. Fix a crash when adding a location to the clock
Added:
desktop/unstable/gnome-panel/debian/patches/fix-gweather-crash.patch
Modified:
desktop/unstable/gnome-panel/debian/changelog
desktop/unstable/gnome-panel/debian/patches/series
Modified: desktop/unstable/gnome-panel/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/changelog?rev=39624&op=diff
==============================================================================
--- desktop/unstable/gnome-panel/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-panel/debian/changelog [utf-8] Sun Sep 22 18:35:12 2013
@@ -1,5 +1,6 @@
-gnome-panel (3.4.2.1-6) UNRELEASED; urgency=low
-
+gnome-panel (3.4.2.1-6) unstable; urgency=low
+
+ [ Andreas Henriksson ]
* Add debian/patches/20_eds-api.patch
* Update build-dependencies for above patch:
- Drop libedataserverui-3.0-dev (>= 2.91.2),
@@ -15,7 +16,11 @@
* Add debian/patches/drop-gweather-xml-include.patch
* Above changes closes: #722022
- -- Andreas Henriksson <andreas at fatal.se> Tue, 17 Sep 2013 15:12:37 +0200
+ [ Sjoerd Simons ]
+ * debian/patches/fix-gweather-crash.patch:
+ - Added. Fix a crash when adding a location to the clock
+
+ -- Sjoerd Simons <sjoerd at debian.org> Sun, 22 Sep 2013 20:34:42 +0200
gnome-panel (3.4.2.1-5) unstable; urgency=low
Added: desktop/unstable/gnome-panel/debian/patches/fix-gweather-crash.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/patches/fix-gweather-crash.patch?rev=39624&op=file
==============================================================================
--- desktop/unstable/gnome-panel/debian/patches/fix-gweather-crash.patch (added)
+++ desktop/unstable/gnome-panel/debian/patches/fix-gweather-crash.patch [utf-8] Sun Sep 22 18:35:12 2013
@@ -0,0 +1,27 @@
+--- a/applets/clock/clock.c
++++ b/applets/clock/clock.c
+@@ -1496,7 +1497,7 @@
+ const gchar *timezone, *weather_code;
+ gchar *city, *name;
+
+- GWeatherLocation *gloc;
++ GWeatherLocation *gloc, *station_loc;
+ gfloat lat = 0;
+ gfloat lon = 0;
+
+@@ -1521,7 +1522,14 @@
+ return;
+ }
+
+- weather_code = gweather_location_get_code (gloc);
++ station_loc = gloc;
++ while ( gweather_location_get_level (station_loc) <
++ GWEATHER_LOCATION_WEATHER_STATION) {
++ station_loc = gweather_location_get_children (station_loc)[0];
++ g_assert (station_loc != NULL);
++ }
++
++ weather_code = gweather_location_get_code (station_loc);
+ if (gweather_location_entry_has_custom_text (cd->location_entry)) {
+ name = gtk_editable_get_chars (GTK_EDITABLE (cd->location_entry), 0, -1);
+ }
Modified: desktop/unstable/gnome-panel/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-panel/debian/patches/series?rev=39624&op=diff
==============================================================================
--- desktop/unstable/gnome-panel/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gnome-panel/debian/patches/series [utf-8] Sun Sep 22 18:35:12 2013
@@ -12,3 +12,4 @@
clock-schema.patch
clock-applet-modern-gnome-tech.patch
drop-gweather-xml-include.patch
+fix-gweather-crash.patch
More information about the pkg-gnome-commits
mailing list