summaryrefslogtreecommitdiff
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
parentd615da81cf6a34dac7b4bbbcf8b01323b0e9d6c3 (diff)
downloadcaja-499fa21c3070a5230770dcab80ff617a94281f69.tar.bz2
caja-499fa21c3070a5230770dcab80ff617a94281f69.tar.xz
zero-init all signals arrays
-rw-r--r--cut-n-paste-code/libegg/eggsmclient.c2
-rw-r--r--eel/eel-background.c2
-rw-r--r--eel/eel-canvas.c4
-rw-r--r--libcaja-extension/caja-menu-item.c2
-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
-rw-r--r--src/caja-bookmark-list.c2
-rw-r--r--src/caja-information-panel.c2
-rw-r--r--src/caja-navigation-bar.c2
-rw-r--r--src/caja-notebook.c2
-rw-r--r--src/caja-query-editor.c2
-rw-r--r--src/caja-search-bar.c2
-rw-r--r--src/caja-side-pane.c2
-rw-r--r--src/caja-zoom-control.c2
-rw-r--r--src/file-manager/fm-directory-view.c2
25 files changed, 26 insertions, 26 deletions
diff --git a/cut-n-paste-code/libegg/eggsmclient.c b/cut-n-paste-code/libegg/eggsmclient.c
index f0226e34..235398f4 100644
--- a/cut-n-paste-code/libegg/eggsmclient.c
+++ b/cut-n-paste-code/libegg/eggsmclient.c
@@ -39,7 +39,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
struct _EggSMClientPrivate
{
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:
diff --git a/libcaja-extension/caja-menu-item.c b/libcaja-extension/caja-menu-item.c
index f83131a7..693fa41f 100644
--- a/libcaja-extension/caja-menu-item.c
+++ b/libcaja-extension/caja-menu-item.c
@@ -56,7 +56,7 @@ struct _CajaMenuItemDetails
gboolean priority;
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GObjectClass *parent_class = NULL;
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);
diff --git a/src/caja-bookmark-list.c b/src/caja-bookmark-list.c
index 8ea12d41..65feedbe 100644
--- a/src/caja-bookmark-list.c
+++ b/src/caja-bookmark-list.c
@@ -47,7 +47,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static char *window_geometry;
static CajaBookmarkList *singleton = NULL;
diff --git a/src/caja-information-panel.c b/src/caja-information-panel.c
index 89891410..6049da98 100644
--- a/src/caja-information-panel.c
+++ b/src/caja-information-panel.c
@@ -102,7 +102,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
/* drag and drop definitions */
diff --git a/src/caja-navigation-bar.c b/src/caja-navigation-bar.c
index 89cd0e20..0c766bbd 100644
--- a/src/caja-navigation-bar.c
+++ b/src/caja-navigation-bar.c
@@ -41,7 +41,7 @@ enum
LOCATION_CHANGED,
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void caja_navigation_bar_class_init (CajaNavigationBarClass *class);
static void caja_navigation_bar_init (CajaNavigationBar *bar);
diff --git a/src/caja-notebook.c b/src/caja-notebook.c
index 6f65ff30..82d9810b 100644
--- a/src/caja-notebook.c
+++ b/src/caja-notebook.c
@@ -67,7 +67,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (CajaNotebook, caja_notebook, GTK_TYPE_NOTEBOOK);
diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c
index 34488d8e..324149f5 100644
--- a/src/caja-query-editor.c
+++ b/src/caja-query-editor.c
@@ -92,7 +92,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void caja_query_editor_class_init (CajaQueryEditorClass *class);
static void caja_query_editor_init (CajaQueryEditor *editor);
diff --git a/src/caja-search-bar.c b/src/caja-search-bar.c
index 4ff4ef4b..cd1a473b 100644
--- a/src/caja-search-bar.c
+++ b/src/caja-search-bar.c
@@ -43,7 +43,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static void caja_search_bar_class_init (CajaSearchBarClass *class);
static void caja_search_bar_init (CajaSearchBar *bar);
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c
index caea7d8e..d30f4918 100644
--- a/src/caja-side-pane.c
+++ b/src/caja-side-pane.c
@@ -66,7 +66,7 @@ enum
LAST_SIGNAL
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
EEL_CLASS_BOILERPLATE (CajaSidePane, caja_side_pane, GTK_TYPE_VBOX)
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index 1b251da2..2fe7b5a5 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -76,7 +76,7 @@ struct CajaZoomControlDetails
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static gpointer accessible_parent_class;
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index ac13a13f..74fb6067 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -150,7 +150,7 @@ enum
};
-static guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL] = { 0 };
static GdkAtom copied_files_atom;