Include the right header

This commit is contained in:
Matthias Clasen 2010-06-07 06:23:24 -04:00
parent 71c5e3f899
commit 486c46b945
2 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ gsettings_SCHEMAS = my.app.gschema.xml
extracted into your gettext catalog. One way to do that is to use extracted into your gettext catalog. One way to do that is to use
intltool. For that, you use <tag class="starttag">_summary</tag> intltool. For that, you use <tag class="starttag">_summary</tag>
and <tag class="starttag">_description</tag> elements in a and <tag class="starttag">_description</tag> elements in a
.gschema.xml.in file and use <literal>@INTLTOOL_NOMERGE_RULE@</literal> .gschema.xml.in file and use <literal>&commat;INTLTOOL_XML_NOMERGE_RULE&commat;</literal>
in your Makefile.am to produce the .gschema.xml file. The in your Makefile.am to produce the .gschema.xml file. The
<literal>NOMERGE</literal> part of the rule instructs intltool <literal>NOMERGE</literal> part of the rule instructs intltool
to extract translatable strings, but not merge the translations to extract translatable strings, but not merge the translations

View File

@ -1,7 +1,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <gio.h> #include <gio/gio.h>
#include <gstdio.h> #include <gstdio.h>
#define G_SETTINGS_ENABLE_BACKEND #define G_SETTINGS_ENABLE_BACKEND
#include <gio/gsettingsbackend.h> #include <gio/gsettingsbackend.h>