summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-07-21 16:12:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-07-21 16:12:44 +0000
commitfee9accbd15097a392d8ce615741f5d4481003ec (patch)
tree8c85950b47d8bac29f9921aa1b38ee352da4a9ea /gtk/gtkrc.h
parenta0cdff6cca323407cc62b06c0765babaf9f6cb96 (diff)
downloadgtk+-fee9accbd15097a392d8ce615741f5d4481003ec.tar.gz
New function to destroy an rc context.
2006-07-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrc.h: * gtk/gtkrc.c (_gtk_rc_context_destroy): New function to destroy an rc context. * gtk/gtksettings.c (gtk_settings_finalize): Destroy the rc context. (gtk_settings_get_for_screen): Unref the settings when the screen goes away. (#348096, Chris Wilson)
Diffstat (limited to 'gtk/gtkrc.h')
-rw-r--r--gtk/gtkrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkrc.h b/gtk/gtkrc.h
index 3b8e67e6c0..2fd8f3e440 100644
--- a/gtk/gtkrc.h
+++ b/gtk/gtkrc.h
@@ -248,6 +248,7 @@ const GtkRcProperty* _gtk_rc_style_lookup_rc_property (GtkRcStyle *rc_style,
GSList * _gtk_rc_style_get_color_hashes (GtkRcStyle *rc_style);
const gchar* _gtk_rc_context_get_default_font_name (GtkSettings *settings);
+void _gtk_rc_context_destroy (GtkSettings *settings);
G_END_DECLS