--- a/main.c +++ b/main.c @@ -1,13 +1,9 @@ #include #include -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"); + settings = g_settings_new("org.gnome.evolution-data-server.addressbook"); return 0; }