summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet/task-list.c
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-01 19:48:27 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commit55c91289c3fcd746d824d0928171484cde3c85f0 (patch)
treead11574f681006bc29a95b78e164baba962d9d08 /mate-window-picker-applet/task-list.c
parentee356868df465f2f256304869359a7320b92ed35 (diff)
downloadmate-netbook-55c91289c3fcd746d824d0928171484cde3c85f0.tar.bz2
mate-netbook-55c91289c3fcd746d824d0928171484cde3c85f0.tar.xz
Cleanup whitespaces
Diffstat (limited to 'mate-window-picker-applet/task-list.c')
-rw-r--r--mate-window-picker-applet/task-list.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/mate-window-picker-applet/task-list.c b/mate-window-picker-applet/task-list.c
index 459ad5a..613d03d 100644
--- a/mate-window-picker-applet/task-list.c
+++ b/mate-window-picker-applet/task-list.c
@@ -2,7 +2,7 @@
* Copyright (C) 2008 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
+ * it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
@@ -39,7 +39,7 @@ struct _TaskListPrivate
enum
{
PROP_0,
-
+
PROP_SHOW_ALL_WINDOWS
};
@@ -78,9 +78,9 @@ on_window_opened (WnckScreen *screen,
|| type == WNCK_WINDOW_SPLASHSCREEN
|| type == WNCK_WINDOW_MENU)
return;
-
+
GtkWidget *item = task_item_new (window);
-
+
if (item)
{
gtk_box_pack_start (GTK_BOX (list), item, FALSE, FALSE, 0);
@@ -183,11 +183,11 @@ task_list_new (void)
{
GtkWidget *list = NULL;
- list = g_object_new (TASK_TYPE_LIST,
- "homogeneous", FALSE,
- "spacing", 0,
+ list = g_object_new (TASK_TYPE_LIST,
+ "homogeneous", FALSE,
+ "spacing", 0,
NULL);
-
+
return list;
}
@@ -202,7 +202,7 @@ task_list_get_default (void)
return list;
}
-gboolean
+gboolean
task_list_get_desktop_visible (TaskList *list)
{
GList *windows, *w;
@@ -214,7 +214,7 @@ task_list_get_desktop_visible (TaskList *list)
for (w = windows; w; w = w->next)
{
WnckWindow *window;
-
+
window = w->data;
if (WNCK_IS_WINDOW (window) && !wnck_window_is_minimized (window))
@@ -229,4 +229,3 @@ task_list_get_show_all_windows (TaskList *list)
{
return list->priv->show_all_windows;
}
-