summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-10-28 17:42:09 +0300
committerinfirit <[email protected]>2014-11-24 22:27:35 +0100
commit23b2b3b0e0f979b123a503c41ecde108e824f437 (patch)
tree0f49fca590c5c4d3c6b25c3590cf04da9fc52084
parentd37ec4b473b4191f871a02fbb04d915a222ae5ba (diff)
downloadmate-panel-23b2b3b0e0f979b123a503c41ecde108e824f437.tar.bz2
mate-panel-23b2b3b0e0f979b123a503c41ecde108e824f437.tar.xz
zero-initialize all signals arrays
-rw-r--r--applets/clock/calendar-window.c6
-rw-r--r--applets/clock/clock-location-tile.c2
-rw-r--r--applets/clock/clock-map.c2
-rw-r--r--applets/notification_area/na-tray-manager.c2
-rw-r--r--libmate-panel-applet/mate-panel-applet.c2
-rw-r--r--mate-panel/libegg/eggsmclient.c2
-rw-r--r--mate-panel/libmate-panel-applet-private/mate-panel-applet-container.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c
index 2a6de2f1..b19d3e2b 100644
--- a/applets/clock/calendar-window.c
+++ b/applets/clock/calendar-window.c
@@ -52,11 +52,11 @@
#endif
enum {
-EDIT_LOCATIONS,
-LAST_SIGNAL
+ EDIT_LOCATIONS,
+ LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
struct _CalendarWindowPrivate {
GtkWidget *calendar;
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index 1dd8d23b..b4c7c93f 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -25,7 +25,7 @@ enum {
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
typedef struct {
ClockLocation *location;
diff --git a/applets/clock/clock-map.c b/applets/clock/clock-map.c
index adfe137a..704835ea 100644
--- a/applets/clock/clock-map.c
+++ b/applets/clock/clock-map.c
@@ -33,7 +33,7 @@ static char *marker_files[MARKER_NB] = {
ICONDIR "/clock-map-location-current.png"
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
typedef struct {
time_t last_refresh;
diff --git a/applets/notification_area/na-tray-manager.c b/applets/notification_area/na-tray-manager.c
index 6b61adea..4fcb3614 100644
--- a/applets/notification_area/na-tray-manager.c
+++ b/applets/notification_area/na-tray-manager.c
@@ -65,7 +65,7 @@ typedef struct
#endif
} PendingMessage;
-static guint manager_signals[LAST_SIGNAL];
+static guint manager_signals[LAST_SIGNAL] = { 0 };
#define SYSTEM_TRAY_REQUEST_DOCK 0
#define SYSTEM_TRAY_BEGIN_MESSAGE 1
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index fa40c649..3dbe6c52 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -92,7 +92,7 @@ enum {
LAST_SIGNAL
};
-static guint mate_panel_applet_signals[LAST_SIGNAL];
+static guint mate_panel_applet_signals[LAST_SIGNAL] = { 0 };
enum {
PROP_0,
diff --git a/mate-panel/libegg/eggsmclient.c b/mate-panel/libegg/eggsmclient.c
index 24da19b7..2f65a75e 100644
--- a/mate-panel/libegg/eggsmclient.c
+++ b/mate-panel/libegg/eggsmclient.c
@@ -38,7 +38,7 @@ enum {
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
struct _EggSMClientPrivate {
GKeyFile *state_file;
diff --git a/mate-panel/libmate-panel-applet-private/mate-panel-applet-container.c b/mate-panel/libmate-panel-applet-private/mate-panel-applet-container.c
index 0ca1861b..3b6a1102 100644
--- a/mate-panel/libmate-panel-applet-private/mate-panel-applet-container.c
+++ b/mate-panel/libmate-panel-applet-private/mate-panel-applet-container.c
@@ -49,7 +49,7 @@ enum {
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
typedef struct {
const gchar *name;