summaryrefslogtreecommitdiff
path: root/src/disfluid/main.c
blob: 19f610aa9d6e620b5396b113293439d0968d998c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <config.h>
#include "attribute.h"
#include <disfluid.h>

#include <locale.h>
#include "gettext.h"
#include "progname.h"
#include "relocatable.h"

#include "../adwaita/disfluid-adwaita.h"
#include <glib.h>
#include <adwaita.h>

int
main (int argc, char *argv[])
{
  set_program_name (argv[0]);
  setlocale (LC_ALL, "");
  bindtextdomain (PACKAGE, relocate (LOCALEDIR));
  textdomain (PACKAGE);
  struct DisfluidAdwApplication *app = disfluid_adw_application_new ();
  int status = g_application_run ((GApplication *) app, argc, argv);
  g_object_unref (app);
  return status;
}