diff options
author | JP Rosevear <jpr@ximian.com> | 2002-05-02 22:49:43 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-05-02 22:49:43 +0800 |
commit | bafc4fa954b1578ab46043ea9e57da192c30aaae (patch) | |
tree | 0f4b39dae031467979b18ec03883b39c02c60276 /calendar/gui | |
parent | f570ce28bf08593baca5012bf74d2227992aa5fb (diff) | |
download | gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar.gz gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar.bz2 gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar.lz gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar.xz gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.tar.zst gsoc2013-evolution-bafc4fa954b1578ab46043ea9e57da192c30aaae.zip |
only discard the popup if we created one
2002-05-02 JP Rosevear <jpr@ximian.com>
* gui/e-week-view.c (free_view_popup): only discard the popup if
we created one
svn path=/trunk/; revision=16663
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-week-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index c01230cbf2..f0913e3e28 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3498,8 +3498,12 @@ static void free_view_popup (GtkWidget *widget, gpointer data) { EWeekView *week_view = E_WEEK_VIEW (data); + + if (week_view->view_menu == NULL) + return; gnome_calendar_discard_view_popup (week_view->calendar, week_view->view_menu); + week_view->view_menu = NULL; } void |