anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / test / make-hardcode-gsettings-patch / fixtures / example-project-wrapped-settings-constructor-patched / main.c
blobb0894614de7c93fff40d0540a4fe015230963b08
1 #include <gio/gio.h>
2 #include <glib-object.h>
4 int main() {
5 g_autoptr(GSettings) settings;
7 g_autoptr(GSettingsSchemaSource) schema_source;
8 g_autoptr(GSettingsSchema) schema;
9 schema_source = g_settings_schema_source_new_from_directory("@EDS@", g_settings_schema_source_get_default(), TRUE, NULL);
10 schema = g_settings_schema_source_lookup(schema_source, "org.gnome.evolution-data-server.addressbook", FALSE);
11 settings = g_settings_new_full(schema, NULL, NULL);
14 return 0;