[gnome-calendar] application: fix setting active-date logic
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] application: fix setting active-date logic
- Date: Sat, 6 May 2017 15:30:30 +0000 (UTC)
commit 9ed375cd99db23fdfa8122611b05890eedcc6859
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Sat May 6 20:18:28 2017 +0530
application: fix setting active-date logic
https://bugzilla.gnome.org/show_bug.cgi?id=782192
src/gcal-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 35d00ae..b73f546 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -228,7 +228,7 @@ gcal_application_activate (GApplication *application)
gtk_window_present (GTK_WINDOW (self->window));
- if (!self->initial_date)
+ if (self->initial_date)
g_object_set (self->window, "active-date", self->initial_date, NULL);
g_clear_pointer (&self->initial_date, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]