From aa7b42561350bb027c3037fa0866a12bb31e8798 Mon Sep 17 00:00:00 2001 From: DanielChabrowski Date: Thu, 16 Jul 2020 14:24:49 +0200 Subject: [PATCH] Fix indentation --- src/process-tree-view.c | 12 ++++++------ src/task-manager.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/process-tree-view.c b/src/process-tree-view.c index fd6e109..ac35a91 100644 --- a/src/process-tree-view.c +++ b/src/process-tree-view.c @@ -499,7 +499,7 @@ create_popup_menu (XtmProcessTreeView *treeview, GPid pid, guint activate_time) gtk_widget_destroy (menu); menu = build_context_menu (treeview, pid); - return menu; + return menu; } static gboolean @@ -528,7 +528,7 @@ treeview_clicked (XtmProcessTreeView *treeview, GdkEventButton *event) G_DEBUG_FMT ("Found iter with pid %d", pid); - gtk_menu_popup_at_pointer (GTK_MENU (create_popup_menu (treeview, pid, event->time)), NULL); + gtk_menu_popup_at_pointer (GTK_MENU (create_popup_menu (treeview, pid, event->time)), NULL); return TRUE; } @@ -554,11 +554,11 @@ treeview_key_pressed (XtmProcessTreeView *treeview, GdkEventKey *event) if (event->keyval == GDK_KEY_Menu) { - GdkRectangle rect = { .x = 5, .y = 5, .width = 0, .height = 0 }; - GdkWindow *window = gtk_tree_view_get_bin_window (GTK_TREE_VIEW (treeview)); + GdkRectangle rect = { .x = 5, .y = 5, .width = 0, .height = 0 }; + GdkWindow *window = gtk_tree_view_get_bin_window (GTK_TREE_VIEW (treeview)); - gtk_menu_popup_at_rect (GTK_MENU (create_popup_menu (treeview, pid, event->time)), - window, &rect, GDK_GRAVITY_NORTH_WEST, GDK_GRAVITY_NORTH_WEST, NULL); + gtk_menu_popup_at_rect (GTK_MENU (create_popup_menu (treeview, pid, event->time)), + window, &rect, GDK_GRAVITY_NORTH_WEST, GDK_GRAVITY_NORTH_WEST, NULL); return TRUE; } else if (event->keyval == GDK_KEY_Delete) diff --git a/src/task-manager.c b/src/task-manager.c index 9677636..cfaa314 100644 --- a/src/task-manager.c +++ b/src/task-manager.c @@ -343,7 +343,7 @@ task_list_find_for_pid (GArray *task_list, GPid pid, Task **task, guint *idx) static glong __current_timestamp (void) { - gint64 tv = g_get_real_time (); + gint64 tv = g_get_real_time (); return tv / G_USEC_PER_SEC; }