From 9645daf48fa28c26ff623fc9541a860217426e60 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 17 Dec 2014 13:30:51 +0100 Subject: 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. --- gtk/gtkcssstyle.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'gtk/gtkcssstyle.c') 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) -- cgit v1.2.1