diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-02 14:22:31 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-02 14:22:31 +0000 |
commit | acbe4f18e97e8c13adac5560b3e18edd9c00606c (patch) | |
tree | 418296d92250b7a2e456396c25c6a4f88af175bb /gtk/gtksettings.h | |
parent | 352b72d2f24f6298afcf3b596bb6b327ac144d63 (diff) | |
download | gtk+-acbe4f18e97e8c13adac5560b3e18edd9c00606c.tar.gz |
Privately export: _gtk_settings_set_property_value_from_rc()
Wed Oct 2 08:47:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.[ch]: Privately export:
_gtk_settings_set_property_value_from_rc()
_gtk_settings_reset_rc_values() so that we can reset
settings set from RC files when reloading RC files.
(#94610)
* gtk/gtkrc.c: Hook up RC file setting resetting.
Diffstat (limited to 'gtk/gtksettings.h')
-rw-r--r-- | gtk/gtksettings.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h index 98f83cdb25..80bb73e3da 100644 --- a/gtk/gtksettings.h +++ b/gtk/gtksettings.h @@ -35,6 +35,7 @@ G_BEGIN_DECLS /* --- typedefs --- */ typedef struct _GtkSettingsClass GtkSettingsClass; typedef struct _GtkSettingsValue GtkSettingsValue; +typedef struct _GtkSettingsPropertyValue GtkSettingsPropertyValue; /* Internal */ /* --- structures --- */ @@ -43,7 +44,7 @@ struct _GtkSettings GObject parent_instance; GData *queued_settings; /* of type GtkSettingsValue* */ - GValue *property_values; + GtkSettingsPropertyValue *property_values; GtkRcContext *rc_context; GdkScreen *screen; @@ -114,6 +115,11 @@ void gtk_settings_set_double_property (GtkSettings *settings, /* implementation details */ +void _gtk_settings_set_property_value_from_rc (GtkSettings *settings, + const gchar *name, + const GtkSettingsValue *svalue); +void _gtk_settings_reset_rc_values (GtkSettings *settings); + void _gtk_settings_handle_event (GdkEventSetting *event); GtkRcPropertyParser _gtk_rc_property_parser_from_type (GType type); gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser, |