Add gtk_settings_reset_property

This api undoes an application-specific override and makes the
setting follow the system-wide values again.

https://bugzilla.gnome.org/show_bug.cgi?id=755008
This commit is contained in:
Matthias Clasen
2015-09-17 19:13:39 -04:00
parent d930ea7c1f
commit 2f0d4b6868
3 changed files with 32 additions and 0 deletions

View File

@ -140,6 +140,9 @@ void gtk_settings_set_double_property (GtkSettings *settings,
gdouble v_double,
const gchar *origin);
GDK_AVAILABLE_IN_3_20
void gtk_settings_reset_property (GtkSettings *settings,
const gchar *name);
G_END_DECLS