mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 14:24:40 +00:00
bc41b2db3d
This is useful for replacing code that cannot be easily handled by the generator, such as the tentative settings constructor in e-d-s.
14 lines
271 B
C
14 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;
|
|
}
|