depot/pkgs/test/make-hardcode-gsettings-patch/fixtures/example-project-wrapped-settings-constructor/main.c
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

13 lines
271 B
C

#include <gio/gio.h>
#include <glib-object.h>
void my_settings_new(const char *schema_id) {
return g_settings_new(schema_id);
}
int main() {
g_autoptr (GSettings) settings;
settings = my_settings_new("org.gnome.evolution-data-server.addressbook");
return 0;
}