GSettings: bind to writablity of a key

This commit is contained in:
Ryan Lortie
2010-04-20 12:30:12 -04:00
parent 890a842b26
commit f5990c1aef
3 changed files with 78 additions and 31 deletions

View File

@@ -197,6 +197,11 @@ void g_settings_bind_with_mapping (GSettin
GSettingsBindSetMapping set_mapping,
gpointer user_data,
GDestroyNotify destroy);
void g_settings_bind_writable (GSettings *settings,
const gchar *key,
gpointer object,
const gchar *property,
gboolean inverted);
void g_settings_unbind (gpointer object,
const gchar *property);