#include <locale.h>
#include <stdlib.h>

#include <glib.h>
#include <glib/gprintf.h>
#include <gio/gdesktopappinfo.h>

int
main (int argc, char * argv[])
{
        GDesktopAppInfo *desktop_app_info;

        setlocale (LC_ALL, "");

        desktop_app_info = g_desktop_app_info_new ("gnome-region-panel.desktop");

        if (!desktop_app_info) {
                g_printerr ("Couldn't read the desktop file");
                return EXIT_FAILURE;
        }

        g_printf ("%s\n", g_app_info_get_description (G_APP_INFO (desktop_app_info)));

        return EXIT_SUCCESS;
}
