zero-initialize all signals arrays

This commit is contained in:
Monsta 2014-10-28 17:31:13 +03:00 committed by infirit
parent 87eecea6bd
commit 4a79fb544f
4 changed files with 4 additions and 4 deletions

View File

@ -141,7 +141,7 @@ enum
LAST_SIGNAL 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, static void pluma_message_bus_dispatch_real (PlumaMessageBus *bus,
PlumaMessage *message); PlumaMessage *message);

View File

@ -81,7 +81,7 @@ enum {
LAST_SIGNAL LAST_SIGNAL
}; };
static guint signals[LAST_SIGNAL]; static guint signals[LAST_SIGNAL] = { 0 };
static GObject *pluma_panel_constructor (GType type, static GObject *pluma_panel_constructor (GType type,
guint n_construct_properties, guint n_construct_properties,

View File

@ -66,7 +66,7 @@ enum
LAST_SIGNAL LAST_SIGNAL
}; };
static guint signals[LAST_SIGNAL]; static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE(PlumaPluginsEngine, pluma_plugins_engine, G_TYPE_OBJECT) G_DEFINE_TYPE(PlumaPluginsEngine, pluma_plugins_engine, G_TYPE_OBJECT)

View File

@ -38,7 +38,7 @@ enum {
LAST_SIGNAL LAST_SIGNAL
}; };
static guint signals[LAST_SIGNAL]; static guint signals[LAST_SIGNAL] = { 0 };
struct _EggSMClientPrivate { struct _EggSMClientPrivate {
GKeyFile *state_file; GKeyFile *state_file;