summaryrefslogtreecommitdiff
path: root/src/proctable.cpp
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-12-30 17:36:39 +0100
committerraveit65 <[email protected]>2017-12-31 12:42:13 +0100
commit4fbc5492eab3e7116ea7a8a820fab3b170e59e04 (patch)
tree3c96818bdfddf6325255ef8791a4a14c7910aac6 /src/proctable.cpp
parent1616e0306a6b8cf6762a8e57ae9645d02ee43a58 (diff)
downloadmate-system-monitor-4fbc5492eab3e7116ea7a8a820fab3b170e59e04.tar.bz2
mate-system-monitor-4fbc5492eab3e7116ea7a8a820fab3b170e59e04.tar.xz
proctable.cpp: Fix build warning: this ‘else’ clause does not guard...
...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
Diffstat (limited to 'src/proctable.cpp')
-rw-r--r--src/proctable.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/proctable.cpp b/src/proctable.cpp
index afa14d1..f4e1e54 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -695,14 +695,14 @@ insert_info_to_tree (ProcInfo *info, ProcData *procdata, bool forced = false)
else
gtk_tree_store_insert (GTK_TREE_STORE (model), &info->node, NULL, 0);
- gtk_tree_store_set (GTK_TREE_STORE (model), &info->node,
- COL_POINTER, info,
- COL_NAME, info->name,
- COL_ARGS, info->arguments,
- COL_TOOLTIP, info->tooltip,
- COL_PID, info->pid,
- COL_SECURITYCONTEXT, info->security_context,
- -1);
+ gtk_tree_store_set (GTK_TREE_STORE (model), &info->node,
+ COL_POINTER, info,
+ COL_NAME, info->name,
+ COL_ARGS, info->arguments,
+ COL_TOOLTIP, info->tooltip,
+ COL_PID, info->pid,
+ COL_SECURITYCONTEXT, info->security_context,
+ -1);
procdata->pretty_table.set_icon(*info);