From 6ce45743c6f03d016cd0ac0f8b13288ec2e70483 Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Tue, 7 Feb 2017 23:15:00 +0530 Subject: [PATCH] gcal-window: Declare 'view' as type guint32 Earlier 'view' was declared as a 'guint' but was used as 'gint'. This patch changes the declaration of 'view' to gint32. https://bugzilla.gnome.org/show_bug.cgi?id=778299 --- src/gcal-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcal-window.c b/src/gcal-window.c index 7e5aa0a0..d9cfc711 100644 --- a/src/gcal-window.c +++ b/src/gcal-window.c @@ -327,7 +327,7 @@ on_view_action_activated (GSimpleAction *action, gpointer user_data) { GcalWindow *window = GCAL_WINDOW (user_data); - guint view; + gint32 view; view = g_variant_get_int32 (param);