mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-30 17:39:46 +00:00
Fixed return values for gitg_window_delete_event
This commit is contained in:
parent
de206d76ff
commit
381d6144ce
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue