summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-10-28 17:31:13 +0300
committerinfirit <[email protected]>2014-12-19 13:56:35 +0100
commit4a79fb544f5c35843d536d73d60bc10f52ba7d4c (patch)
tree732697672e86bf9ed9484e17880f4c297ca6b32a
parent87eecea6bd7f4568b813ac3853422cd9988c66bd (diff)
downloadpluma-4a79fb544f5c35843d536d73d60bc10f52ba7d4c.tar.bz2
pluma-4a79fb544f5c35843d536d73d60bc10f52ba7d4c.tar.xz
zero-initialize all signals arrays
-rw-r--r--pluma/pluma-message-bus.c2
-rw-r--r--pluma/pluma-panel.c2
-rw-r--r--pluma/pluma-plugins-engine.c2
-rwxr-xr-xpluma/smclient/eggsmclient.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/pluma/pluma-message-bus.c b/pluma/pluma-message-bus.c
index 043c4dae..84551bff 100644
--- a/pluma/pluma-message-bus.c
+++ b/pluma/pluma-message-bus.c
@@ -141,7 +141,7 @@ enum
LAST_SIGNAL
};
-static guint message_bus_signals[LAST_SIGNAL];
+static guint message_bus_signals[LAST_SIGNAL] = { 0 };
static void pluma_message_bus_dispatch_real (PlumaMessageBus *bus,
PlumaMessage *message);
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 68438b8a..8e2654a7 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -81,7 +81,7 @@ enum {
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GObject *pluma_panel_constructor (GType type,
guint n_construct_properties,
diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c
index 306caf20..27f71dd9 100644
--- a/pluma/pluma-plugins-engine.c
+++ b/pluma/pluma-plugins-engine.c
@@ -66,7 +66,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE(PlumaPluginsEngine, pluma_plugins_engine, G_TYPE_OBJECT)
diff --git a/pluma/smclient/eggsmclient.c b/pluma/smclient/eggsmclient.c
index 15b4fad1..0cc3818a 100755
--- a/pluma/smclient/eggsmclient.c
+++ b/pluma/smclient/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;