From 748560e1fcccc046183f82818960ca53f0b69295 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 3 Apr 2001 13:18:00 +0000 Subject: changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() Tue Apr 3 13:52:57 2001 Tim Janik * 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. --- gtk/gtkbindings.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'gtk/gtkbindings.h') diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h index 051947d9d1..b5e6ed246a 100644 --- a/gtk/gtkbindings.h +++ b/gtk/gtkbindings.h @@ -41,33 +41,6 @@ extern "C" { #endif /* __cplusplus */ -/* Pattern matching - */ -typedef struct _GtkPatternSpec GtkPatternSpec; - -struct _GtkPatternSpec -{ - GtkMatchType match_type; - guint pattern_length; - gchar *pattern; - gchar *pattern_reversed; - gpointer user_data; - guint seq_id; -}; - -void gtk_pattern_spec_init (GtkPatternSpec *pspec, - const gchar *pattern); -void gtk_pattern_spec_free_segs (GtkPatternSpec *pspec); -gboolean gtk_pattern_match (GtkPatternSpec *pspec, - guint string_length, - const gchar *string, - const gchar *string_reversed); -gboolean gtk_pattern_match_string (GtkPatternSpec *pspec, - const gchar *string); -gboolean gtk_pattern_match_simple (const gchar *pattern, - const gchar *string); - - /* Binding sets */ -- cgit v1.2.1