summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyleprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-12-17 13:30:51 +0100
committerBenjamin Otte <otte@redhat.com>2015-01-07 14:26:47 +0100
commit9645daf48fa28c26ff623fc9541a860217426e60 (patch)
treedc134e8febf4663491d994f17ac29a91e6c4a4b7 /gtk/gtkcssstyleprivate.h
parentcd056adb2f9bb57d8f1bc001de11dadf8075ec8c (diff)
downloadgtk+-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/gtkcssstyleprivate.h')
-rw-r--r--gtk/gtkcssstyleprivate.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkcssstyleprivate.h b/gtk/gtkcssstyleprivate.h
index d61b4c3cf9..ad5b596b6f 100644
--- a/gtk/gtkcssstyleprivate.h
+++ b/gtk/gtkcssstyleprivate.h
@@ -54,13 +54,6 @@ struct _GtkCssStyleClass
* Optional: default impl will just return NULL */
GtkCssSection * (* get_section) (GtkCssStyle *style,
guint id);
- /* Compute the bitmask of potentially changed properties if the parent has changed
- * the passed in ones.
- * This is for example needed when changes in the "color" property will affect
- * all properties using "currentColor" as a color.
- * Optional: The default impl just returns the parent changes unchanged */
- GtkBitmask * (* compute_dependencies) (GtkCssStyle *style,
- const GtkBitmask *parent_changes);
};
GType gtk_css_style_get_type (void) G_GNUC_CONST;
@@ -71,8 +64,6 @@ GtkCssSection * gtk_css_style_get_section (GtkCssStyle
guint id);
GtkBitmask * gtk_css_style_get_difference (GtkCssStyle *style,
GtkCssStyle *other);
-GtkBitmask * gtk_css_style_compute_dependencies (GtkCssStyle *style,
- const GtkBitmask *parent_changes);
char * gtk_css_style_to_string (GtkCssStyle *style);
void gtk_css_style_print (GtkCssStyle *style,