[gnome-applets/wip/segeiger/window-picker-in-process: 11/11] windowpicker: Remove unused timer variable



commit 56ad2425340d1f871580130c2b2e9a4582438a23
Author: Sebastian Geiger <sbastig gmx net>
Date:   Mon Jun 8 23:42:40 2015 +0200

    windowpicker: Remove unused timer variable

 windowpicker/src/task-list.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/windowpicker/src/task-list.c b/windowpicker/src/task-list.c
index 44f2ced..711ddf8 100644
--- a/windowpicker/src/task-list.c
+++ b/windowpicker/src/task-list.c
@@ -26,7 +26,6 @@
 
 struct _TaskListPrivate {
     WnckScreen *screen;
-    guint timer;
     WindowPickerApplet *windowPickerApplet;
 };
 
@@ -103,9 +102,6 @@ static void task_list_finalize (GObject *object) {
     TaskList *task_list = TASK_LIST (object);
     TaskListPrivate *priv = task_list->priv;
 
-    /* Remove the blink timer */
-    if (priv->timer) g_source_remove (priv->timer);
-
     G_OBJECT_CLASS (task_list_parent_class)->finalize (object);
 }
 
@@ -120,8 +116,6 @@ task_list_class_init(TaskListClass *class) {
 static void task_list_init (TaskList *list) {
     list->priv = task_list_get_instance_private (list);
     list->priv->screen = wnck_screen_get_default ();
-    /* No blink timer */
-    list->priv->timer = 0;
     gtk_container_set_border_width (GTK_CONTAINER (list), 0);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]