diff options
author | Benjamin Otte <otte@redhat.com> | 2014-12-17 13:30:51 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-01-07 14:26:47 +0100 |
commit | 9645daf48fa28c26ff623fc9541a860217426e60 (patch) | |
tree | dc134e8febf4663491d994f17ac29a91e6c4a4b7 /gtk/gtkcssstyle.c | |
parent | cd056adb2f9bb57d8f1bc001de11dadf8075ec8c (diff) | |
download | gtk+-9645daf48fa28c26ff623fc9541a860217426e60.tar.gz |
cssstyle: Move function from vfunc to static func
compute_dependencies() is only used internally by GtkCssStaticStyle,
so there's no need to have it elsewhere.
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r-- | gtk/gtkcssstyle.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c index f24557c65f..040998b6cb 100644 --- a/gtk/gtkcssstyle.c +++ b/gtk/gtkcssstyle.c @@ -46,18 +46,10 @@ gtk_css_style_real_get_section (GtkCssStyle *style, return NULL; } -static GtkBitmask * -gtk_css_style_real_compute_dependencies (GtkCssStyle *style, - const GtkBitmask *parent_changes) -{ - return _gtk_bitmask_copy (parent_changes); -} - static void gtk_css_style_class_init (GtkCssStyleClass *klass) { klass->get_section = gtk_css_style_real_get_section; - klass->compute_dependencies = gtk_css_style_real_compute_dependencies; } static void @@ -102,15 +94,6 @@ gtk_css_style_get_difference (GtkCssStyle *style, return result; } -GtkBitmask * -gtk_css_style_compute_dependencies (GtkCssStyle *style, - const GtkBitmask *parent_changes) -{ - gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (style), _gtk_bitmask_new ()); - - return GTK_CSS_STYLE_GET_CLASS (style)->compute_dependencies (style, parent_changes); -} - void gtk_css_style_print (GtkCssStyle *style, GString *string) |