[gnome-calendar/gnome-3-22] gcal-window: Declare 'view' as type guint32
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-22] gcal-window: Declare 'view' as type guint32
- Date: Mon, 27 Feb 2017 11:57:02 +0000 (UTC)
commit 96dace02b585b3ab95d7dacfa0b51e3fcc6d12e6
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 4314d04..f4a4945 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -326,7 +326,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]