summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet/task-list.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-12-15 15:18:23 +0300
committerMonsta <[email protected]>2015-12-15 15:18:23 +0300
commit4f3021134aca9e73fe6a902348ebb678365c768a (patch)
treeb1f7d8254a6d15958740e9f04e4bb10977af2139 /mate-window-picker-applet/task-list.c
parentea28835a8bcd655cf46faaf53daba8ea6b72f067 (diff)
downloadmate-netbook-4f3021134aca9e73fe6a902348ebb678365c768a.tar.bz2
mate-netbook-4f3021134aca9e73fe6a902348ebb678365c768a.tar.xz
window picker: remove some unused variables
Diffstat (limited to 'mate-window-picker-applet/task-list.c')
-rw-r--r--mate-window-picker-applet/task-list.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/mate-window-picker-applet/task-list.c b/mate-window-picker-applet/task-list.c
index 2c3c635..137534c 100644
--- a/mate-window-picker-applet/task-list.c
+++ b/mate-window-picker-applet/task-list.c
@@ -32,9 +32,6 @@ G_DEFINE_TYPE (TaskList, task_list, GTK_TYPE_HBOX);
struct _TaskListPrivate
{
WnckScreen *screen;
- GHashTable *win_table;
- guint timer;
- guint counter;
gboolean show_all_windows;
};
@@ -70,11 +67,9 @@ on_window_opened (WnckScreen *screen,
WnckWindow *window,
TaskList *list)
{
- TaskListPrivate *priv;
WnckWindowType type;
g_return_if_fail (TASK_IS_LIST (list));
- priv = list->priv;
type = wnck_window_get_window_type (window);
@@ -102,9 +97,6 @@ task_list_finalize (GObject *object)
priv = TASK_LIST_GET_PRIVATE (object);
- /* Remove the blink timer */
- if (priv->timer) g_source_remove (priv->timer);
-
G_OBJECT_CLASS (task_list_parent_class)->finalize (object);
}
@@ -137,10 +129,8 @@ task_list_set_property (GObject *object,
GParamSpec *pspec)
{
TaskList *list = TASK_LIST (object);
- TaskListPrivate *priv;
g_return_if_fail (TASK_IS_LIST (list));
- priv = list->priv;
switch (prop_id)
{
@@ -181,11 +171,6 @@ task_list_init (TaskList *list)
priv->screen = wnck_screen_get_default ();
- priv->win_table = g_hash_table_new (NULL, NULL);
-
- /* No blink timer */
- priv->timer = 0;
-
gtk_container_set_border_width (GTK_CONTAINER (list), 0);
g_signal_connect (priv->screen, "window-opened",