From e2d0b048d348a415ad97298489af6d706a773c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 24 Jun 2011 15:25:17 +0100 Subject: Initial commit --- src/power-service.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/power-service.c (limited to 'src/power-service.c') diff --git a/src/power-service.c b/src/power-service.c new file mode 100644 index 0000000..909b29b --- /dev/null +++ b/src/power-service.c @@ -0,0 +1,50 @@ +/* +An indicator to power related information in the menubar. + +Copyright 2011 Codethink Ltd. + +Authors: + Javier Jardon + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License version 3, as published +by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program. If not, see . +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include +#include + +#include +#include +#include +#include + +#include + +gint +main (gint argc, + gchar **argv) +{ + g_type_init(); + + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + setlocale (LC_ALL, ""); + + return 0; +} -- cgit v1.2.3