summaryrefslogtreecommitdiff
path: root/hardinfo2/hardinfo.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-05-20 14:41:28 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-05-20 14:41:28 +0000
commit7b3c726991f0f060ca18c576fc7816b930435240 (patch)
tree1b6e5c7396fd89cd81baa018af6080c5349e1c6b /hardinfo2/hardinfo.c
parentcbd8b0d401add58a06d82c7a5d7fb22b53d80714 (diff)
- Add binreloc support.
- Add users information. - Add ppc64 and mips64 support. - Fix loadgraph autoscaling (should be usable now! :) - Misc cosmetic changes. - Misc wording changes.
Diffstat (limited to 'hardinfo2/hardinfo.c')
-rw-r--r--hardinfo2/hardinfo.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/hardinfo2/hardinfo.c b/hardinfo2/hardinfo.c
index fd605626..7f61d6ee 100644
--- a/hardinfo2/hardinfo.c
+++ b/hardinfo2/hardinfo.c
@@ -22,11 +22,19 @@
#include <iconcache.h>
#include <stock.h>
+#include <binreloc.h>
+
int
main(int argc, char **argv)
{
- gtk_init(&argc, &argv);
+ GError *error;
+ gtk_init(&argc, &argv);
+
+ if (!gbr_init(&error)) {
+ g_error("BinReloc cannot be initialized: %s", error->message);
+ }
+
icon_cache_init();
stock_icons_init();
shell_init();