From 9dd60a1845bdb3c0f3a5acd7f0475bfc5f0e8707 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 26 May 1998 03:51:49 +0000 Subject: Fix the gc destruction in the unrealization code and fix the pixmap 1998-05-25 Miguel de Icaza * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc destruction in the unrealization code and fix the pixmap unrefing. * main.c (close_cmd): Remove a bad hack that disabled calendar widget destruction. svn path=/trunk/; revision=238 --- calendar/gui/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/main.c') diff --git a/calendar/gui/main.c b/calendar/gui/main.c index dec25e737c..bdb6a0d1c3 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -173,7 +173,7 @@ close_cmd (GtkWidget *widget, GnomeCalendar *gcal) calendar_save (gcal->cal, gcal->cal->filename); } -/* gtk_widget_destroy (GTK_WIDGET (gcal)); */ + gtk_widget_destroy (GTK_WIDGET (gcal)); active_calendars--; if (active_calendars == 0) -- cgit v1.2.3