[libgd/wip/ernestask/gtk4: 21/22] notification: default to being invisible
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd/wip/ernestask/gtk4: 21/22] notification: default to being invisible
- Date: Sun, 11 Mar 2018 08:33:12 +0000 (UTC)
commit 2f2ac0ac511e0d5612fc9935ee4c8d655f7c72d9
Author: Ernestas Kulik <ernestask gnome org>
Date: Sun Mar 11 10:12:36 2018 +0200
notification: default to being invisible
Otherwise, the animation/timeout stuff breaks.
libgd/gd-notification.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-notification.c b/libgd/gd-notification.c
index 26c48ad..0830adc 100644
--- a/libgd/gd-notification.c
+++ b/libgd/gd-notification.c
@@ -806,5 +806,5 @@ gd_notification_close_button_clicked_cb (GtkWidget *widget, gpointer user_data)
GtkWidget *
gd_notification_new (void)
{
- return g_object_new (GD_TYPE_NOTIFICATION, NULL);
+ return g_object_new (GD_TYPE_NOTIFICATION, "visible", FALSE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]