summaryrefslogtreecommitdiff
path: root/libview
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 /libview
parentbf5e5fcff80a294fd4d6e051d777ba7f9ecb76a4 (diff)
downloadatril-327620edb07c573f7d96719288603058baaf27aa.tar.bz2
atril-327620edb07c573f7d96719288603058baaf27aa.tar.xz
zero-init all signals arrays
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-annotation-window.c2
-rwxr-xr-xlibview/ev-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index d788d936..f22934e4 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -71,7 +71,7 @@ struct _EvAnnotationWindowClass {
gint y);
};
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
G_DEFINE_TYPE (EvAnnotationWindow, ev_annotation_window, GTK_TYPE_WINDOW)
diff --git a/libview/ev-view.c b/libview/ev-view.c
index db445fe1..5e3b4d23 100755
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -78,7 +78,7 @@ enum {
};
#endif
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
typedef enum {
EV_VIEW_FIND_NEXT,