diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-10-07 17:55:08 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:39:50 +0200 |
commit | 956a5c47ed3d58d79d64590280466ad321adcf1f (patch) | |
tree | 3f1666a95299de1a906fa00832a188808ffbaccf /gtk/gtkrc.c | |
parent | 2e1b3abad3c93f61c11d8fea9fe307791c066695 (diff) | |
download | gtk+-956a5c47ed3d58d79d64590280466ad321adcf1f.tar.gz |
Remove deprecated GtkRcStyle functions
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r-- | gtk/gtkrc.c | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 556e92be8e..973f04d71f 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1304,22 +1304,6 @@ _gtk_rc_style_unset_rc_property (GtkRcStyle *rc_style, } } -void -gtk_rc_style_ref (GtkRcStyle *rc_style) -{ - g_return_if_fail (GTK_IS_RC_STYLE (rc_style)); - - g_object_ref (rc_style); -} - -void -gtk_rc_style_unref (GtkRcStyle *rc_style) -{ - g_return_if_fail (GTK_IS_RC_STYLE (rc_style)); - - g_object_unref (rc_style); -} - static GtkRcStyle * gtk_rc_style_real_create_rc_style (GtkRcStyle *style) { @@ -2200,48 +2184,6 @@ gtk_rc_add_rc_sets (GSList *slist, return g_slist_prepend (slist, rc_set); } -void -gtk_rc_add_widget_name_style (GtkRcStyle *rc_style, - const gchar *pattern) -{ - GtkRcContext *context; - - g_return_if_fail (rc_style != NULL); - g_return_if_fail (pattern != NULL); - - context = gtk_rc_context_get (gtk_settings_get_default ()); - - context->rc_sets_widget = gtk_rc_add_rc_sets (context->rc_sets_widget, rc_style, pattern, GTK_PATH_WIDGET); -} - -void -gtk_rc_add_widget_class_style (GtkRcStyle *rc_style, - const gchar *pattern) -{ - GtkRcContext *context; - - g_return_if_fail (rc_style != NULL); - g_return_if_fail (pattern != NULL); - - context = gtk_rc_context_get (gtk_settings_get_default ()); - - context->rc_sets_widget_class = gtk_rc_add_rc_sets (context->rc_sets_widget_class, rc_style, pattern, GTK_PATH_WIDGET_CLASS); -} - -void -gtk_rc_add_class_style (GtkRcStyle *rc_style, - const gchar *pattern) -{ - GtkRcContext *context; - - g_return_if_fail (rc_style != NULL); - g_return_if_fail (pattern != NULL); - - context = gtk_rc_context_get (gtk_settings_get_default ()); - - context->rc_sets_class = gtk_rc_add_rc_sets (context->rc_sets_class, rc_style, pattern, GTK_PATH_CLASS); -} - GScanner* gtk_rc_scanner_new (void) { |