diff options
author | Benjamin Otte <otte@redhat.com> | 2015-02-13 22:04:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-18 15:23:31 +0100 |
commit | 6f9969f4fe112006a9316575d3beeea4a4ed6c60 (patch) | |
tree | f88a78a28a8626d00ea51c2185527128078fdb15 /gtk/gtkcsswidgetnode.c | |
parent | b827725aceabfc88e33f80eec78ece029f2553c6 (diff) | |
download | gtk+-6f9969f4fe112006a9316575d3beeea4a4ed6c60.tar.gz |
csswidgetnode: Always return a valid style
Diffstat (limited to 'gtk/gtkcsswidgetnode.c')
-rw-r--r-- | gtk/gtkcsswidgetnode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcsswidgetnode.c b/gtk/gtkcsswidgetnode.c index d142c93e10..eb640ea6ac 100644 --- a/gtk/gtkcsswidgetnode.c +++ b/gtk/gtkcsswidgetnode.c @@ -38,6 +38,9 @@ gtk_css_widget_node_update_style (GtkCssNode *cssnode, GtkCssChange pending_change, GtkCssStyle *old_style) { + if (old_style == NULL) + return GTK_CSS_NODE_CLASS (gtk_css_widget_node_parent_class)->update_style (cssnode, pending_change, old_style); + return NULL; } |