summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-04-03 13:18:00 +0000
committerTim Janik <timj@src.gnome.org>2001-04-03 13:18:00 +0000
commit748560e1fcccc046183f82818960ca53f0b69295 (patch)
tree0ca1f02f7507559371d48bcea85cb1e9647ef5be /gtk/gtksettings.h
parent655abd087209e246966e68330f1b2f6861be8154 (diff)
downloadgtk+-748560e1fcccc046183f82818960ca53f0b69295.tar.gz
changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc()
Tue Apr 3 13:52:57 2001 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() GtkPatternSpec argument to GPatternSpec. this is actually unlikely to cause breakage in third-party apps since except for gle, pretty much ever caller passes NULL here. * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API. * *.c: use g_pattern_*() API. * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates. * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled directions aren't passed in. * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion functionality to be usable from gtkstyle.c as well, give precedence for conversion to user-supplied parsers. s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/; * gtk/gtkstyle.c (_gtk_style_peek_property_value): use _gtk_settings_parse_convert() for rcporperty value conversion.
Diffstat (limited to 'gtk/gtksettings.h')
-rw-r--r--gtk/gtksettings.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h
index 6a861ad322..59c2fd90cd 100644
--- a/gtk/gtksettings.h
+++ b/gtk/gtksettings.h
@@ -110,9 +110,15 @@ void gtk_settings_set_double_property (GtkSettings *settings,
gdouble v_double,
const gchar *origin);
-void _gtk_settings_handle_event (GdkEventSetting *event);
-GtkRcPropertyParser _gtk_rc_property_parser_for_type (GType type);
+/* implementation details */
+void _gtk_settings_handle_event (GdkEventSetting *event);
+GtkRcPropertyParser _gtk_rc_property_parser_from_type (GType type);
+gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser,
+ const GValue *src_value,
+ GParamSpec *pspec,
+ GValue *dest_value);
+
#ifdef __cplusplus
}