From 7b3c726991f0f060ca18c576fc7816b930435240 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 20 May 2006 14:41:28 +0000 Subject: - Add binreloc support. - Add users information. - Add ppc64 and mips64 support. - Fix loadgraph autoscaling (should be usable now! :) - Misc cosmetic changes. - Misc wording changes. --- hardinfo2/hardinfo.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'hardinfo2/hardinfo.c') 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 #include +#include + 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(); -- cgit v1.2.3