[libwnck/wip/muktupavels/modernize: 1/3] remove redundant declarations
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/modernize: 1/3] remove redundant declarations
- Date: Sat, 12 Nov 2016 14:05:01 +0000 (UTC)
commit 2f7dded1f4b767ad9ea83885380e27706157682d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Nov 12 10:54:43 2016 +0200
remove redundant declarations
libwnck/application.c | 3 ---
libwnck/class-group.c | 4 ----
libwnck/pager.c | 3 ---
libwnck/screen.c | 2 --
libwnck/tasklist.c | 8 --------
libwnck/window.c | 2 --
libwnck/workspace.c | 3 ---
7 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/libwnck/application.c b/libwnck/application.c
index 87f820a..7866079 100644
--- a/libwnck/application.c
+++ b/libwnck/application.c
@@ -92,11 +92,8 @@ static void emit_icon_changed (WnckApplication *app);
static void reset_name (WnckApplication *app);
static void update_name (WnckApplication *app);
-static void wnck_application_init (WnckApplication *application);
-static void wnck_application_class_init (WnckApplicationClass *klass);
static void wnck_application_finalize (GObject *object);
-
static guint signals[LAST_SIGNAL] = { 0 };
void
diff --git a/libwnck/class-group.c b/libwnck/class-group.c
index b67e2ca..ce99c79 100644
--- a/libwnck/class-group.c
+++ b/libwnck/class-group.c
@@ -64,10 +64,6 @@ G_DEFINE_TYPE (WnckClassGroup, wnck_class_group, G_TYPE_OBJECT);
/* Hash table that maps res_class strings -> WnckClassGroup instances */
static GHashTable *class_group_hash = NULL;
-
-
-static void wnck_class_group_class_init (WnckClassGroupClass *class);
-static void wnck_class_group_init (WnckClassGroup *class_group);
static void wnck_class_group_finalize (GObject *object);
enum {
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 96e3b77..5214a09 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -96,15 +96,12 @@ enum
LAST_SIGNAL
};
-
#define POINT_IN_RECT(xcoord, ycoord, rect) \
((xcoord) >= (rect).x && \
(xcoord) < ((rect).x + (rect).width) && \
(ycoord) >= (rect).y && \
(ycoord) < ((rect).y + (rect).height))
-static void wnck_pager_init (WnckPager *pager);
-static void wnck_pager_class_init (WnckPagerClass *klass);
static void wnck_pager_finalize (GObject *object);
static void wnck_pager_realize (GtkWidget *widget);
diff --git a/libwnck/screen.c b/libwnck/screen.c
index 1814ec0..5e8771f 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -151,8 +151,6 @@ enum {
LAST_SIGNAL
};
-static void wnck_screen_init (WnckScreen *screen);
-static void wnck_screen_class_init (WnckScreenClass *klass);
static void wnck_screen_finalize (GObject *object);
static void update_client_list (WnckScreen *screen);
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 78c6d17..ce1dfa9 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -239,8 +239,6 @@ G_DEFINE_TYPE (WnckTask, wnck_task, G_TYPE_OBJECT);
G_DEFINE_TYPE (WnckTasklist, wnck_tasklist, GTK_TYPE_CONTAINER);
#define WNCK_TASKLIST_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), WNCK_TYPE_TASKLIST,
WnckTasklistPrivate))
-static void wnck_task_init (WnckTask *task);
-static void wnck_task_class_init (WnckTaskClass *klass);
static void wnck_task_finalize (GObject *object);
static void wnck_task_stop_glow (WnckTask *task);
@@ -283,8 +281,6 @@ static void wnck_task_drag_data_get (GtkWidget *widget,
guint time,
WnckTask *task);
-static void wnck_tasklist_init (WnckTasklist *tasklist);
-static void wnck_tasklist_class_init (WnckTasklistClass *klass);
static void wnck_tasklist_finalize (GObject *object);
static void wnck_tasklist_get_preferred_width (GtkWidget *widget,
@@ -352,7 +348,6 @@ static void wnck_tasklist_check_end_sequence (WnckTasklist *tasklist
WnckWindow *window);
#endif
-
/*
* Keep track of all tasklist instances so we can decide
* whether to show windows from all monitors in the
@@ -360,9 +355,6 @@ static void wnck_tasklist_check_end_sequence (WnckTasklist *tasklist
*/
static GSList *tasklist_instances;
-static GType
-wnck_task_get_type (void) G_GNUC_CONST;
-
static void
wnck_task_init (WnckTask *task)
{
diff --git a/libwnck/window.c b/libwnck/window.c
index 033fe4b..ab833c1 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -182,8 +182,6 @@ enum {
LAST_SIGNAL
};
-static void wnck_window_init (WnckWindow *window);
-static void wnck_window_class_init (WnckWindowClass *klass);
static void wnck_window_finalize (GObject *object);
static void emit_name_changed (WnckWindow *window);
diff --git a/libwnck/workspace.c b/libwnck/workspace.c
index 4c0b43a..19e6385 100644
--- a/libwnck/workspace.c
+++ b/libwnck/workspace.c
@@ -80,11 +80,8 @@ enum {
LAST_SIGNAL
};
-static void wnck_workspace_init (WnckWorkspace *workspace);
-static void wnck_workspace_class_init (WnckWorkspaceClass *klass);
static void wnck_workspace_finalize (GObject *object);
-
static void emit_name_changed (WnckWorkspace *space);
static guint signals[LAST_SIGNAL] = { 0 };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]