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



commit fecb0d6838415a223f3e377e4f5a9485210988f5
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 |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/windowpicker/src/task-list.c b/windowpicker/src/task-list.c
index 4ed0962..5e71c5a 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,11 +102,6 @@ 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);
 }
 
@@ -122,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]