summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-10-28 17:06:56 +0300
committerinfirit <[email protected]>2014-12-08 21:46:03 +0100
commit327620edb07c573f7d96719288603058baaf27aa (patch)
treebbe4422442b92db14a810a962c73340486cec7a2 /cut-n-paste
parentbf5e5fcff80a294fd4d6e051d777ba7f9ecb76a4 (diff)
downloadatril-327620edb07c573f7d96719288603058baaf27aa.tar.bz2
atril-327620edb07c573f7d96719288603058baaf27aa.tar.xz
zero-init all signals arrays
Diffstat (limited to 'cut-n-paste')
-rw-r--r--cut-n-paste/smclient/eggsmclient.c2
-rw-r--r--cut-n-paste/zoom-control/ephy-zoom-control.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cut-n-paste/smclient/eggsmclient.c b/cut-n-paste/smclient/eggsmclient.c
index 4f06d75f..071618e7 100644
--- a/cut-n-paste/smclient/eggsmclient.c
+++ b/cut-n-paste/smclient/eggsmclient.c
@@ -42,7 +42,7 @@ enum {
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
struct _EggSMClientPrivate {
GKeyFile *state_file;
diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c
index 63b04814..d654395f 100644
--- a/cut-n-paste/zoom-control/ephy-zoom-control.c
+++ b/cut-n-paste/zoom-control/ephy-zoom-control.c
@@ -60,7 +60,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (EphyZoomControl, ephy_zoom_control, GTK_TYPE_TOOL_ITEM)