summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-09-25 08:56:38 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-09-25 08:56:38 +0000
commitf028bd79bf8ae809a5f86d453f16869f65fcb407 (patch)
treeb59e794e01d2d0b347e52960b56e2dbb157b36ed
parentd809faba3e6cd17bb19025bb32d9a1713a0cc692 (diff)
downloadlibgtop-f028bd79bf8ae809a5f86d453f16869f65fcb407.tar.gz
Added missing call to glibgtop_init() / glibtop_close()
* df.c: (main): * pprint.c: (main): * procargs.c: (main): Added missing call to glibgtop_init() / glibtop_close()
-rw-r--r--examples/ChangeLog2
-rw-r--r--examples/df.c2
-rw-r--r--examples/pprint.c2
-rw-r--r--examples/procargs.c2
4 files changed, 7 insertions, 1 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog
index 2d421124..8f9a79c0 100644
--- a/examples/ChangeLog
+++ b/examples/ChangeLog
@@ -2,7 +2,7 @@ i2004-09-25 Benoît Dejean <tazforever@dlfp.org>
* df.c: (main):
* pprint.c: (main):
- * procargs.c: (main): Added missing call to libgtop_init();
+ * procargs.c: (main): Added missing call to glibgtop_init() / glibtop_close()
2004-09-24 Benoît Dejean <tazforever@dlfp.org>
diff --git a/examples/df.c b/examples/df.c
index 26da6c5f..b0295a46 100644
--- a/examples/df.c
+++ b/examples/df.c
@@ -42,5 +42,7 @@ int main()
g_free(entries);
+ glibtop_close();
+
return 0;
}
diff --git a/examples/pprint.c b/examples/pprint.c
index de8d2994..61ae12c5 100644
--- a/examples/pprint.c
+++ b/examples/pprint.c
@@ -240,5 +240,7 @@ int main()
pprint_get_uptime();
+ glibtop_close();
+
return 0;
}
diff --git a/examples/procargs.c b/examples/procargs.c
index 29155f0d..0bf4711d 100644
--- a/examples/procargs.c
+++ b/examples/procargs.c
@@ -40,6 +40,8 @@ int main(int argc, char **argv)
show_args(pid, 15);
}
+ glibtop_close();
+
return 0;
}