[gitg] Fixed return values for gitg_window_delete_event
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fixed return values for gitg_window_delete_event
- Date: Sat, 3 Apr 2010 11:59:24 +0000 (UTC)
commit 381d6144ce1ca295ceeadf6b47c4f2896bc47169
Author: Vincent Untz <vuntz gnome org>
Date: Sat Apr 3 13:58:38 2010 +0200
Fixed return values for gitg_window_delete_event
gitg/gitg-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-window.c b/gitg/gitg-window.c
index 9a2ff46..95eda15 100644
--- a/gitg/gitg-window.c
+++ b/gitg/gitg-window.c
@@ -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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]