diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | src/datetime-service.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 60462c1..24ad8ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-datetime (12.10.2-0ubuntu3) UNRELEASED; urgency=low + + * Backport "fix off-by-one error" leading to have the settings item run + the calendar application rather than the control center (lp: #1064375) + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 09 Oct 2012 19:32:20 +0200 + indicator-datetime (12.10.2-0ubuntu2) quantal; urgency=low * Backport fix from Lars for a missing NULL check leading to segfault diff --git a/src/datetime-service.c b/src/datetime-service.c index f0c45c0..b34c23e 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -833,8 +833,8 @@ update_appointment_menu_items (gpointer unused) if (i >= MAX_APPOINTMENT_MENUITEMS) continue; - i++; item = appointments[i]; + i++; /* Remove the icon as we might not replace it on error */ dbusmenu_menuitem_property_remove(item, APPOINTMENT_MENUITEM_PROP_ICON); |