diff options
author | Monsta <[email protected]> | 2014-10-28 17:46:34 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-15 22:05:02 +0100 |
commit | 69d668200026623398304475d8f1983a3c437e4d (patch) | |
tree | b8650939ab950e957064b4e1ab491141fd666f8e | |
parent | 8e837bc07114ca7793d9ef65128c04326f4d9275 (diff) | |
download | mate-terminal-69d668200026623398304475d8f1983a3c437e4d.tar.bz2 mate-terminal-69d668200026623398304475d8f1983a3c437e4d.tar.xz |
zero-init all signals arrays
-rw-r--r-- | src/eggsmclient.c | 2 | ||||
-rw-r--r-- | src/terminal-app.c | 2 | ||||
-rw-r--r-- | src/terminal-profile.c | 2 | ||||
-rw-r--r-- | src/terminal-screen.c | 2 | ||||
-rw-r--r-- | src/terminal-tab-label.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/eggsmclient.c b/src/eggsmclient.c index a938675..6f78626 100644 --- a/src/eggsmclient.c +++ b/src/eggsmclient.c @@ -39,7 +39,7 @@ enum LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; struct _EggSMClientPrivate { diff --git a/src/terminal-app.c b/src/terminal-app.c index 24c00f8..e97a9dd 100644 --- a/src/terminal-app.c +++ b/src/terminal-app.c @@ -128,7 +128,7 @@ enum LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; enum { diff --git a/src/terminal-profile.c b/src/terminal-profile.c index c5f487f..d917a23 100644 --- a/src/terminal-profile.c +++ b/src/terminal-profile.c @@ -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); diff --git a/src/terminal-screen.c b/src/terminal-screen.c index 664e0c1..9047fae 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -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 "]" diff --git a/src/terminal-tab-label.c b/src/terminal-tab-label.c index a24677d..f7ddee2 100644 --- a/src/terminal-tab-label.c +++ b/src/terminal-tab-label.c @@ -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); |