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/gtkcssanimatedstyle.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/gtkcssanimatedstyle.c')
-rw-r--r-- | gtk/gtkcssanimatedstyle.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c index a86621be52..98aa930865 100644 --- a/gtk/gtkcssanimatedstyle.c +++ b/gtk/gtkcssanimatedstyle.c @@ -63,16 +63,6 @@ gtk_css_animated_style_get_section (GtkCssStyle *style, return gtk_css_style_get_section (animated->style, id); } -static GtkBitmask * -gtk_css_animated_style_compute_dependencies (GtkCssStyle *style, - const GtkBitmask *parent_changes) -{ - GtkCssAnimatedStyle *animated = GTK_CSS_ANIMATED_STYLE (style); - - /* XXX: This misses dependencies due to animations */ - return gtk_css_style_compute_dependencies (animated->style, parent_changes); -} - static void gtk_css_animated_style_dispose (GObject *object) { @@ -111,7 +101,6 @@ gtk_css_animated_style_class_init (GtkCssAnimatedStyleClass *klass) style_class->get_value = gtk_css_animated_style_get_value; style_class->get_section = gtk_css_animated_style_get_section; - style_class->compute_dependencies = gtk_css_animated_style_compute_dependencies; } static void |