r52441 - in /desktop/unstable/gnome-calendar/debian: changelog patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue May 30 08:15:54 UTC 2017


Author: biebl
Date: Tue May 30 08:15:51 2017
New Revision: 52441

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=52441
Log:
Add debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch:
fix crash when creating a new event. (Closes: #858924)

Added:
    desktop/unstable/gnome-calendar/debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch
Modified:
    desktop/unstable/gnome-calendar/debian/changelog
    desktop/unstable/gnome-calendar/debian/patches/series

Modified: desktop/unstable/gnome-calendar/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-calendar/debian/changelog?rev=52441&op=diff
==============================================================================
--- desktop/unstable/gnome-calendar/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-calendar/debian/changelog	[utf-8] Tue May 30 08:15:51 2017
@@ -1,3 +1,10 @@
+gnome-calendar (3.22.4-2) UNRELEASED; urgency=medium
+
+  * Add debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch:
+    fix crash when creating a new event. (Closes: #858924)
+
+ -- Jason Crain <jason at inspiresomeone.us>  Sun, 28 May 2017 10:31:05 -0500
+
 gnome-calendar (3.22.4-1) unstable; urgency=medium
 
   * New upstream release.

Added: desktop/unstable/gnome-calendar/debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-calendar/debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch?rev=52441&op=file
==============================================================================
--- desktop/unstable/gnome-calendar/debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch	(added)
+++ desktop/unstable/gnome-calendar/debian/patches/0003-set-edit-dialogs-event-to-NULL-after-saving.patch	[utf-8] Tue May 30 08:15:51 2017
@@ -0,0 +1,39 @@
+From: Yash Singh <yashdev10p at gmail.com>
+Date: Fri, 10 Mar 2017 17:58:52 +0530
+Subject: window: set edit dialog's event to NULL after saving
+
+Earlier the app used to crash when a new event was added using the
+'Edit Details' buttion/dialog. This was happening because edit dialog's
+event was set to NULL before the event was being stored in the calendar
+through the 'edit_dialog' and hence the app was crashing.
+
+This patch fixes the above-mentioned issue by saving the event before
+setting the edit dialog's event to NULL.
+
+Origin: upstream, https://git.gnome.org/browse/gnome-calendar/commit/?id=6f87ada70dbeae71e3428ee3a63f79b8c918f121
+Bug: https://bugzilla.gnome.org/779733
+Bug-Debian: https://bugs.debian.org/858924
+Last-Update: 2017-05-28
+---
+ src/gcal-window.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/src/gcal-window.c
++++ b/src/gcal-window.c
+@@ -1102,7 +1102,6 @@
+   event = gcal_edit_dialog_get_event (edit_dialog);
+   view = GCAL_VIEW (window->views[window->active_view]);
+ 
+-  gcal_edit_dialog_set_event (edit_dialog, NULL);
+   gtk_widget_hide (GTK_WIDGET (dialog));
+ 
+   switch (response)
+@@ -1149,6 +1148,8 @@
+       break;
+ 
+     }
++
++  gcal_edit_dialog_set_event (edit_dialog, NULL);
+ }
+ 
+ static void

Modified: desktop/unstable/gnome-calendar/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-calendar/debian/patches/series?rev=52441&op=diff
==============================================================================
--- desktop/unstable/gnome-calendar/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gnome-calendar/debian/patches/series	[utf-8] Tue May 30 08:15:51 2017
@@ -1,2 +1,3 @@
 0001-Hide-GOA-sources-on-Unity.patch
 0002-Spawn-Ubuntu-s-credentials-panel-instead-of-the-GOA-.patch
+0003-set-edit-dialogs-event-to-NULL-after-saving.patch




More information about the pkg-gnome-commits mailing list