summaryrefslogtreecommitdiff
path: root/typing-break
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-10-28 17:24:36 +0300
committerinfirit <[email protected]>2014-11-28 09:20:42 +0100
commit93581becbe49a4b78cb7ed7ef2c32c08360253a0 (patch)
treeb9bab62aac2f288fb343e7600c99902b7a5460c5 /typing-break
parentffea36a02842b683be4b567439161865ba342f78 (diff)
downloadmate-control-center-93581becbe49a4b78cb7ed7ef2c32c08360253a0.tar.bz2
mate-control-center-93581becbe49a4b78cb7ed7ef2c32c08360253a0.tar.xz
zero-init signals array
Diffstat (limited to 'typing-break')
-rw-r--r--typing-break/drw-break-window.c2
-rw-r--r--typing-break/drw-monitor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/typing-break/drw-break-window.c b/typing-break/drw-break-window.c
index 4c3484c3..bb9edefe 100644
--- a/typing-break/drw-break-window.c
+++ b/typing-break/drw-break-window.c
@@ -87,7 +87,7 @@ static void label_size_request_cb (GtkLabel *label,
G_DEFINE_TYPE (DrwBreakWindow, drw_break_window, GTK_TYPE_WINDOW)
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void
drw_break_window_class_init (DrwBreakWindowClass *klass)
diff --git a/typing-break/drw-monitor.c b/typing-break/drw-monitor.c
index 9659086b..027f22b5 100644
--- a/typing-break/drw-monitor.c
+++ b/typing-break/drw-monitor.c
@@ -56,7 +56,7 @@ static void drw_monitor_finalize (GObject *object);
static gboolean drw_monitor_setup (DrwMonitor *monitor);
static GObjectClass *parent_class;
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
GType