[gnome-applets/wip/segeiger/windowpicker: 14/15] windowpicker: declare variables at top
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/segeiger/windowpicker: 14/15] windowpicker: declare variables at top
- Date: Sun, 13 Oct 2019 12:19:06 +0000 (UTC)
commit c00330a86dc3b076e275f0110c56291c89269b46
Author: Sebastian Geiger <sbastig gmx net>
Date: Sat Oct 12 15:30:50 2019 +0200
windowpicker: declare variables at top
windowpicker/src/task-item.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/windowpicker/src/task-item.c b/windowpicker/src/task-item.c
index 7d01880a2..b8cf76ae8 100644
--- a/windowpicker/src/task-item.c
+++ b/windowpicker/src/task-item.c
@@ -832,8 +832,8 @@ static void task_item_init (TaskItem *item) {
}
GtkWidget *task_item_new (WpApplet* windowPickerApplet, WnckWindow *window) {
- g_return_val_if_fail (WNCK_IS_WINDOW (window), NULL);
TaskItem *taskItem;
+ g_return_val_if_fail (WNCK_IS_WINDOW (window), NULL);
WnckScreen *screen;
GtkWidget *item = g_object_new (
TASK_TYPE_ITEM,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]