summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-07 10:39:51 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:20 +0200
commit2fec112422ad8a4072c8c19f6b7b8ba2d276165c (patch)
tree864655e7ca841595382caf94ff540eaf6807fd3b /gtk/gtkcssstylepropertyprivate.h
parent40283e7c2793c7b46e51df520ae17d312a389618 (diff)
downloadgtk+-2fec112422ad8a4072c8c19f6b7b8ba2d276165c.tar.gz
styleproperty: Remove equal_func vfunc
Equality tests are done with _gtk_css_value_equal(). There is no need to do it per-property, equal values will still be equal. This essentially reverts 24f5d54329e028347bd76af42e86ed190c1229a2 and 92c7a7171e1240b6d961ee5b6f9ab6b596e98904.
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r--gtk/gtkcssstylepropertyprivate.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h
index f095dc1280..86bc55064f 100644
--- a/gtk/gtkcssstylepropertyprivate.h
+++ b/gtk/gtkcssstylepropertyprivate.h
@@ -48,9 +48,6 @@ typedef void (* GtkCssStylePropertyQueryFunc) (GtkCssStyleProperty
GValue *value);
typedef GtkCssValue * (* GtkCssStylePropertyAssignFunc) (GtkCssStyleProperty *property,
const GValue *value);
-typedef gboolean (* GtkCssStylePropertyEqualFunc) (GtkCssStyleProperty *property,
- GtkCssValue *value1,
- GtkCssValue *value2);
struct _GtkCssStyleProperty
{
GtkStyleProperty parent;
@@ -65,7 +62,6 @@ struct _GtkCssStyleProperty
GtkCssStylePropertyComputeFunc compute_value;
GtkCssStylePropertyQueryFunc query_value;
GtkCssStylePropertyAssignFunc assign_value;
- GtkCssStylePropertyEqualFunc equal_func;
};
struct _GtkCssStylePropertyClass
@@ -95,9 +91,6 @@ GtkCssValue * _gtk_css_style_property_compute_value (GtkCssStyleProp
void _gtk_css_style_property_print_value (GtkCssStyleProperty *property,
GtkCssValue *value,
GString *string);
-gboolean _gtk_css_style_property_is_equal (GtkCssStyleProperty *property,
- GtkCssValue *value1,
- GtkCssValue *value2);
G_END_DECLS