Fixed return values for gitg_window_delete_event

This commit is contained in:
Vincent Untz 2010-04-03 13:58:38 +02:00 committed by Jesse van den Kieboom
parent de206d76ff
commit 381d6144ce

View file

@ -765,11 +765,12 @@ gitg_window_delete_event (GtkWidget *widget, GdkEventAny *event)
if (GTK_WIDGET_CLASS (parent_class)->delete_event)
{
GTK_WIDGET_CLASS (parent_class)->delete_event (widget, event);
return GTK_WIDGET_CLASS (parent_class)->delete_event (widget, event);
}
else
{
gtk_widget_destroy (widget);
return TRUE;
}
}