[gnome-software] trivial: Don't destroy the GdNotification when dismissed
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Don't destroy the GdNotification when dismissed
- Date: Sun, 25 Sep 2016 08:28:35 +0000 (UTC)
commit 77574eb16b96ad21c14d07573425a1190e715807
Author: Richard Hughes <richard hughsie com>
Date: Sun Sep 25 09:25:52 2016 +0100
trivial: Don't destroy the GdNotification when dismissed
src/gd-notification.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gd-notification.c b/src/gd-notification.c
index 8153436..190237a 100644
--- a/src/gd-notification.c
+++ b/src/gd-notification.c
@@ -292,7 +292,7 @@ animation_timeout_cb (gpointer user_data)
}
if (priv->dismissed && priv->animate_y == 0)
- gtk_widget_destroy (GTK_WIDGET (notification));
+ gtk_widget_hide (GTK_WIDGET (notification));
priv->animate_timeout = 0;
return G_SOURCE_REMOVE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]