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 | |
parent | bf5e5fcff80a294fd4d6e051d777ba7f9ecb76a4 (diff) | |
download | atril-327620edb07c573f7d96719288603058baaf27aa.tar.bz2 atril-327620edb07c573f7d96719288603058baaf27aa.tar.xz |
zero-init all signals arrays
-rw-r--r-- | cut-n-paste/smclient/eggsmclient.c | 2 | ||||
-rw-r--r-- | cut-n-paste/zoom-control/ephy-zoom-control.c | 2 | ||||
-rw-r--r-- | libview/ev-annotation-window.c | 2 | ||||
-rwxr-xr-x | libview/ev-view.c | 2 | ||||
-rw-r--r-- | shell/ev-file-monitor.c | 2 | ||||
-rw-r--r-- | shell/ev-media-player-keys.c | 2 | ||||
-rw-r--r-- | shell/ev-navigation-action-widget.c | 2 | ||||
-rw-r--r-- | shell/ev-open-recent-action.c | 2 | ||||
-rw-r--r-- | shell/ev-sidebar-annotations.c | 2 | ||||
-rw-r--r-- | shell/ev-sidebar-attachments.c | 2 | ||||
-rw-r--r-- | shell/ev-sidebar-layers.c | 2 | ||||
-rw-r--r-- | shell/ev-sidebar-links.c | 2 |
12 files changed, 12 insertions, 12 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) 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, 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, |