diff options
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r-- | gtk/gtkcssstyle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c index 040998b6cb..084919159e 100644 --- a/gtk/gtkcssstyle.c +++ b/gtk/gtkcssstyle.c @@ -82,6 +82,9 @@ gtk_css_style_get_difference (GtkCssStyle *style, GtkBitmask *result; guint i, len; + if (style == other) + return _gtk_bitmask_new (); + result = _gtk_bitmask_new (); len = _gtk_css_style_property_get_n_properties (); for (i = 0; i < len; i++) |