summaryrefslogtreecommitdiff
path: root/shell
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 /shell
parentbf5e5fcff80a294fd4d6e051d777ba7f9ecb76a4 (diff)
downloadatril-327620edb07c573f7d96719288603058baaf27aa.tar.bz2
atril-327620edb07c573f7d96719288603058baaf27aa.tar.xz
zero-init all signals arrays
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-file-monitor.c2
-rw-r--r--shell/ev-media-player-keys.c2
-rw-r--r--shell/ev-navigation-action-widget.c2
-rw-r--r--shell/ev-open-recent-action.c2
-rw-r--r--shell/ev-sidebar-annotations.c2
-rw-r--r--shell/ev-sidebar-attachments.c2
-rw-r--r--shell/ev-sidebar-layers.c2
-rw-r--r--shell/ev-sidebar-links.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/shell/ev-file-monitor.c b/shell/ev-file-monitor.c
index 9a04b71a..5107119e 100644
--- a/shell/ev-file-monitor.c
+++ b/shell/ev-file-monitor.c
@@ -49,7 +49,7 @@ static void ev_file_monitor_changed_cb (GFileMonitor *monitor,
G_DEFINE_TYPE (EvFileMonitor, ev_file_monitor, G_TYPE_OBJECT)
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
static void
ev_file_monitor_init (EvFileMonitor *ev_monitor)
diff --git a/shell/ev-media-player-keys.c b/shell/ev-media-player-keys.c
index 7264d765..e7d950c1 100644
--- a/shell/ev-media-player-keys.c
+++ b/shell/ev-media-player-keys.c
@@ -54,7 +54,7 @@ struct _EvMediaPlayerKeysClass
const gchar *key);
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (EvMediaPlayerKeys, ev_media_player_keys, G_TYPE_OBJECT)
diff --git a/shell/ev-navigation-action-widget.c b/shell/ev-navigation-action-widget.c
index 57a490ea..27993699 100644
--- a/shell/ev-navigation-action-widget.c
+++ b/shell/ev-navigation-action-widget.c
@@ -38,7 +38,7 @@ enum
LAST_SIGNAL
};
-static gint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void
ev_navigation_action_widget_init (EvNavigationActionWidget *action_widget)
diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c
index 557e87a6..e3aabca6 100644
--- a/shell/ev-open-recent-action.c
+++ b/shell/ev-open-recent-action.c
@@ -33,7 +33,7 @@ enum {
static void ev_open_recent_action_init (EvOpenRecentAction *action);
static void ev_open_recent_action_class_init (EvOpenRecentActionClass *class);
-static guint action_signals[N_SIGNALS];
+static guint action_signals[N_SIGNALS] = { 0 };
G_DEFINE_TYPE (EvOpenRecentAction, ev_open_recent_action, GTK_TYPE_ACTION)
diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c
index 328554e8..0213beba 100644
--- a/shell/ev-sidebar-annotations.c
+++ b/shell/ev-sidebar-annotations.c
@@ -63,7 +63,7 @@ struct _EvSidebarAnnotationsPrivate {
static void ev_sidebar_annotations_page_iface_init (EvSidebarPageInterface *iface);
static void ev_sidebar_annotations_load (EvSidebarAnnotations *sidebar_annots);
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
G_DEFINE_TYPE_EXTENDED (EvSidebarAnnotations,
ev_sidebar_annotations,
diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c
index 989c60d5..9b8ee6c8 100644
--- a/shell/ev-sidebar-attachments.c
+++ b/shell/ev-sidebar-attachments.c
@@ -56,7 +56,7 @@ enum {
N_SIGNALS
};
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
struct _EvSidebarAttachmentsPrivate {
GtkWidget *icon_view;
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c
index 8b43cc53..4d201bbd 100644
--- a/shell/ev-sidebar-layers.c
+++ b/shell/ev-sidebar-layers.c
@@ -51,7 +51,7 @@ static void ev_sidebar_layers_page_iface_init (EvSidebarPageInterface *iface);
static void job_finished_callback (EvJobLayers *job,
EvSidebarLayers *sidebar_layers);
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
G_DEFINE_TYPE_EXTENDED (EvSidebarLayers,
ev_sidebar_layers,
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index b14e5a36..4716ac92 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -78,7 +78,7 @@ static gboolean ev_sidebar_links_support_document (EvSidebarPage *sidebar_page,
EvDocument *document);
static const gchar* ev_sidebar_links_get_label (EvSidebarPage *sidebar_page);
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
G_DEFINE_TYPE_EXTENDED (EvSidebarLinks,
ev_sidebar_links,