blob: 23cfb3e4c6186b738f4e418f6e5157a0d6f277c2 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#include <config.h>
#include "nautilus-desktop-application.h"
#include <src/nautilus-resources.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_EXEMPI
#include <exempi/xmp.h>
#endif
int
main (int argc,
char *argv[])
{
NautilusDesktopApplication *application;
int retval;
/* Initialize gettext support */
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
g_set_prgname ("nautilus-desktop");
#ifdef HAVE_EXEMPI
xmp_init ();
#endif
gdk_set_allowed_backends ("x11");
nautilus_register_resource ();
application = nautilus_desktop_application_new ();
retval = g_application_run (G_APPLICATION (application),
argc, argv);
g_object_unref (application);
return retval;
}
|