anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / test / make-hardcode-gsettings-patch / fixtures / example-project-wrapped-settings-constructor-resolve.patch
blob70b80a9e8627443a356aa1e9d0c56b51fd5a7f81
1 --- a/main.c
2 +++ b/main.c
3 @@ -1,13 +1,9 @@
4 #include <gio/gio.h>
5 #include <glib-object.h>
7 -void my_settings_new(const char *schema_id) {
8 - return g_settings_new(schema_id);
9 -}
11 int main() {
12 g_autoptr (GSettings) settings;
13 - settings = my_settings_new("org.gnome.evolution-data-server.addressbook");
14 + settings = g_settings_new("org.gnome.evolution-data-server.addressbook");
16 return 0;