diff options
author | Monsta <[email protected]> | 2014-10-28 17:06:56 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-08 21:46:03 +0100 |
commit | 327620edb07c573f7d96719288603058baaf27aa (patch) | |
tree | bbe4422442b92db14a810a962c73340486cec7a2 /libview | |
parent | bf5e5fcff80a294fd4d6e051d777ba7f9ecb76a4 (diff) | |
download | atril-327620edb07c573f7d96719288603058baaf27aa.tar.bz2 atril-327620edb07c573f7d96719288603058baaf27aa.tar.xz |
zero-init all signals arrays
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-annotation-window.c | 2 | ||||
-rwxr-xr-x | libview/ev-view.c | 2 |
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, |