summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-10-28 18:09:39 +0300
committerinfirit <[email protected]>2014-12-10 10:38:37 +0100
commit499fa21c3070a5230770dcab80ff617a94281f69 (patch)
treea1600978d32af0eda74029ece78520334bab1f8c /libcaja-private
parentd615da81cf6a34dac7b4bbbcf8b01323b0e9d6c3 (diff)
downloadcaja-499fa21c3070a5230770dcab80ff617a94281f69.tar.bz2
caja-499fa21c3070a5230770dcab80ff617a94281f69.tar.xz
zero-init all signals arrays
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-bookmark.c2
-rw-r--r--libcaja-private/caja-clipboard-monitor.c2
-rw-r--r--libcaja-private/caja-column-chooser.c2
-rw-r--r--libcaja-private/caja-directory.c2
-rw-r--r--libcaja-private/caja-entry.c2
-rw-r--r--libcaja-private/caja-file.c2
-rw-r--r--libcaja-private/caja-icon-container.c2
-rw-r--r--libcaja-private/caja-merged-directory.c2
-rw-r--r--libcaja-private/caja-search-engine.c2
-rw-r--r--libcaja-private/caja-signaller.c2
-rw-r--r--libcaja-private/caja-trash-monitor.c2
-rw-r--r--libcaja-private/caja-tree-view-drag-dest.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/libcaja-private/caja-bookmark.c b/libcaja-private/caja-bookmark.c
index 48952fbb..48e26ea3 100644
--- a/libcaja-private/caja-bookmark.c
+++ b/libcaja-private/caja-bookmark.c
@@ -45,7 +45,7 @@ enum
#define ELLIPSISED_MENU_ITEM_MIN_CHARS 32
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
struct CajaBookmarkDetails
{
diff --git a/libcaja-private/caja-clipboard-monitor.c b/libcaja-private/caja-clipboard-monitor.c
index d1483ae4..eabb7844 100644
--- a/libcaja-private/caja-clipboard-monitor.c
+++ b/libcaja-private/caja-clipboard-monitor.c
@@ -58,7 +58,7 @@ struct CajaClipboardMonitorDetails
CajaClipboardInfo *info;
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GdkAtom copied_files_atom;
G_DEFINE_TYPE (CajaClipboardMonitor, caja_clipboard_monitor, G_TYPE_OBJECT);
diff --git a/libcaja-private/caja-column-chooser.c b/libcaja-private/caja-column-chooser.c
index d1fd243a..41de4fa1 100644
--- a/libcaja-private/caja-column-chooser.c
+++ b/libcaja-private/caja-column-chooser.c
@@ -63,7 +63,7 @@ enum
USE_DEFAULT,
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE(CajaColumnChooser, caja_column_chooser, GTK_TYPE_HBOX);
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index fa9d7bd8..a7c5d5a5 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -51,7 +51,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GHashTable *directories;
diff --git a/libcaja-private/caja-entry.c b/libcaja-private/caja-entry.c
index 8f5f9d79..a4baa8c8 100644
--- a/libcaja-private/caja-entry.c
+++ b/libcaja-private/caja-entry.c
@@ -53,7 +53,7 @@ enum
SELECTION_CHANGED,
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void caja_entry_editable_init (GtkEditableInterface *iface);
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c
index 054f27d5..d41c2b45 100644
--- a/libcaja-private/caja-file.c
+++ b/libcaja-private/caja-file.c
@@ -116,7 +116,7 @@ enum {
static int date_format_pref;
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GHashTable *symbolic_links;
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index ed9aa24b..f058130a 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -300,7 +300,7 @@ typedef struct
gboolean tight;
} PlacementGrid;
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
/* Functions dealing with CajaIcons. */
diff --git a/libcaja-private/caja-merged-directory.c b/libcaja-private/caja-merged-directory.c
index bb7ce9eb..7c0aaa73 100644
--- a/libcaja-private/caja-merged-directory.c
+++ b/libcaja-private/caja-merged-directory.c
@@ -71,7 +71,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (CajaMergedDirectory, caja_merged_directory,
CAJA_TYPE_DIRECTORY);
diff --git a/libcaja-private/caja-search-engine.c b/libcaja-private/caja-search-engine.c
index e5b1a311..59bb05ab 100644
--- a/libcaja-private/caja-search-engine.c
+++ b/libcaja-private/caja-search-engine.c
@@ -43,7 +43,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void caja_search_engine_class_init (CajaSearchEngineClass *class);
static void caja_search_engine_init (CajaSearchEngine *engine);
diff --git a/libcaja-private/caja-signaller.c b/libcaja-private/caja-signaller.c
index 38f75110..0d31bed7 100644
--- a/libcaja-private/caja-signaller.c
+++ b/libcaja-private/caja-signaller.c
@@ -44,7 +44,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GType caja_signaller_get_type (void);
diff --git a/libcaja-private/caja-trash-monitor.c b/libcaja-private/caja-trash-monitor.c
index 5c2341f6..b7c3b8b7 100644
--- a/libcaja-private/caja-trash-monitor.c
+++ b/libcaja-private/caja-trash-monitor.c
@@ -47,7 +47,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static CajaTrashMonitor *caja_trash_monitor = NULL;
G_DEFINE_TYPE(CajaTrashMonitor, caja_trash_monitor, G_TYPE_OBJECT)
diff --git a/libcaja-private/caja-tree-view-drag-dest.c b/libcaja-private/caja-tree-view-drag-dest.c
index 294d78a4..22a5cc51 100644
--- a/libcaja-private/caja-tree-view-drag-dest.c
+++ b/libcaja-private/caja-tree-view-drag-dest.c
@@ -79,7 +79,7 @@ enum
static void caja_tree_view_drag_dest_init (CajaTreeViewDragDest *dest);
static void caja_tree_view_drag_dest_class_init (CajaTreeViewDragDestClass *class);
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (CajaTreeViewDragDest, caja_tree_view_drag_dest,
G_TYPE_OBJECT);