[gnome-calendar] gcal-window: Declare 'view' as type guint32



commit 6ce45743c6f03d016cd0ac0f8b13288ec2e70483
Author: Yash Singh <yashdev10p gmail com>
Date:   Tue Feb 7 23:15:00 2017 +0530

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 7e5aa0a..d9cfc71 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]