diff options
author | Monsta <[email protected]> | 2014-10-28 18:09:39 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 10:38:37 +0100 |
commit | 499fa21c3070a5230770dcab80ff617a94281f69 (patch) | |
tree | a1600978d32af0eda74029ece78520334bab1f8c /eel | |
parent | d615da81cf6a34dac7b4bbbcf8b01323b0e9d6c3 (diff) | |
download | caja-499fa21c3070a5230770dcab80ff617a94281f69.tar.bz2 caja-499fa21c3070a5230770dcab80ff617a94281f69.tar.xz |
zero-init all signals arrays
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-background.c | 2 | ||||
-rw-r--r-- | eel/eel-canvas.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c index 9001638d..94f9a299 100644 --- a/eel/eel-background.c +++ b/eel/eel-background.c @@ -66,7 +66,7 @@ enum LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; struct EelBackgroundDetails { diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 8341958a..602986c8 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -115,7 +115,7 @@ static void eel_canvas_item_class_init (EelCanvasItemClass *klass); static void eel_canvas_item_init (EelCanvasItem *item); static int emit_event (EelCanvas *canvas, GdkEvent *event); -static guint item_signals[ITEM_LAST_SIGNAL]; +static guint item_signals[ITEM_LAST_SIGNAL] = { 0 }; static GObjectClass *item_parent_class; @@ -1856,7 +1856,7 @@ static void eel_canvas_draw_background (EelCanvas *canvas, static GtkLayoutClass *canvas_parent_class; -static guint canvas_signals[LAST_SIGNAL]; +static guint canvas_signals[LAST_SIGNAL] = { 0 }; /** * eel_canvas_get_type: |