From 465b7b48eeca4921cf82cb6432cfbd9a4acca3d2 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 8 May 2000 18:39:16 +0000 Subject: call e_day_view_stop_editing_event here to avoid a divide by zero a bit * gui/e-day-view.c (e_day_view_on_delete_appointment): call e_day_view_stop_editing_event here to avoid a divide by zero a bit further on. i'm not sure if this is the best fix for this. svn path=/trunk/; revision=2922 --- calendar/gui/e-day-view.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/gui') diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 43db86972f..15b0ea805f 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2376,6 +2376,9 @@ e_day_view_on_delete_appointment (GtkWidget *widget, gpointer data) if (event == NULL) return; + if (day_view->editing_event_day >= 0) + e_day_view_stop_editing_event (day_view); + gnome_calendar_remove_object (day_view->calendar, event->ico); } @@ -4284,6 +4287,9 @@ e_day_view_get_event_position (EDayView *day_view, start_col = event->start_row_or_col; num_columns = event->num_columns; + if (cols_in_row == 0) + return FALSE; + /* If the event is being resize, use the resize position. */ if (day_view->resize_drag_pos != E_DAY_VIEW_POS_NONE && day_view->resize_event_day == day -- cgit td>
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ngircd
Commit message (Expand)AuthorAgeFilesLines
* - Update to 22.1wen2015-05-272-4/+3
* - Simplify MASTER_SITESamdmi32015-04-091-4/+6
* irc/ngircd: Update to 22koobs2014-12-262-19/+20
* - Replace security/gnutls with security/gnutls3 and update to 3.2.15tijl2014-07-231-0/+1
* - Remove empty files and directoriesak2014-05-201-0/+0
* - Update to 21.1miwi2014-04-267-163/+53
* irc/ngircd: update to 21wg2013-11-083-16/+15
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* irc/ngircd: update to 20.3wg2013-09-052-5/+5
* - Update to 20.2,1beech2013-03-084-15/+35
* - Add UPDATING entry for gnutls updatenovel2013-02-061-0/+1
* - drop maintainershipdinoex2012-10-191-6/+2
* - use OPTIONS_DEFINEdinoex2012-09-161-24/+25
* - update to 0.19.2dinoex2012-08-043-3/+4