[gnome-calendar] new-event: initialize values before using them
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] new-event: initialize values before using them
- Date: Thu, 4 Dec 2014 22:45:16 +0000 (UTC)
commit 3fdadffe081ec0ffe89335ba40b72c01904a791d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Nov 28 17:31:43 2014 -0200
new-event: initialize values before using them
Only to politely ask the compiler to stop complaining about them.
src/gcal-new-event-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-new-event-widget.c b/src/gcal-new-event-widget.c
index 485c60a..c9615c9 100644
--- a/src/gcal-new-event-widget.c
+++ b/src/gcal-new-event-widget.c
@@ -200,6 +200,8 @@ gcal_new_event_widget_set_default_calendar (GcalNewEventWidget *widget,
GtkWidget *image;
priv = gcal_new_event_widget_get_instance_private (widget);
+ color_name = NULL;
+ uid = NULL;
menu = gtk_menu_button_get_popup (GTK_MENU_BUTTON (priv->calendar_button));
for (l = gtk_container_get_children (GTK_CONTAINER (menu));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]