zero-init all signals arrays

master-1.22
Monsta 2014-10-28 17:46:34 +03:00 committed by infirit
parent 8e837bc071
commit 69d6682000
5 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ enum
LAST_SIGNAL
};
static guint signals[LAST_SIGNAL];
static guint signals[LAST_SIGNAL] = { 0 };
struct _EggSMClientPrivate
{

View File

@ -128,7 +128,7 @@ enum
LAST_SIGNAL
};
static guint signals[LAST_SIGNAL];
static guint signals[LAST_SIGNAL] = { 0 };
enum
{

View File

@ -288,7 +288,7 @@ static void ensure_pixbuf_property (TerminalProfile *profile,
guint pixbuf_prop_id,
gboolean *load_failed);
static guint signals[LAST_SIGNAL];
static guint signals[LAST_SIGNAL] = { 0 };
static GQuark gsettings_key_quark;
G_DEFINE_TYPE (TerminalProfile, terminal_profile, G_TYPE_OBJECT);

View File

@ -148,7 +148,7 @@ static char* terminal_screen_check_match (TerminalScreen *scree
int row,
int *flavor);
static guint signals[LAST_SIGNAL];
static guint signals[LAST_SIGNAL] = { 0 };
#define USERCHARS "-[:alnum:]"
#define USERCHARS_CLASS "[" USERCHARS "]"

View File

@ -48,7 +48,7 @@ enum
LAST_SIGNAL
};
static guint signals[LAST_SIGNAL];
static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (TerminalTabLabel, terminal_tab_label, GTK_TYPE_HBOX);