diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-07-20 08:13:24 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-07-20 08:43:08 -0700 |
commit | 11ce41d9c423a5339e4e4c4c41a5db20c48e33f0 (patch) | |
tree | b982d5c189f0badaf786c9470e3451b5e91edb57 /gtk/gtkdrawingarea.c | |
parent | 2dfad2b0d1cad454c4b68625be1e169023aaaed4 (diff) | |
download | gtk+-11ce41d9c423a5339e4e4c4c41a5db20c48e33f0.tar.gz |
Revert "drawingarea: checks parent's draw() before call it"
This reverts commit b3166b745f41a901171821ccc9f0c69b9cc35e70.
https://bugzilla.gnome.org/show_bug.cgi?id=752599
Diffstat (limited to 'gtk/gtkdrawingarea.c')
-rw-r--r-- | gtk/gtkdrawingarea.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c index 93b4b0a9bc..94034059e1 100644 --- a/gtk/gtkdrawingarea.c +++ b/gtk/gtkdrawingarea.c @@ -219,10 +219,7 @@ gtk_drawing_area_draw (GtkWidget *widget, gtk_widget_get_allocated_width (widget), gtk_widget_get_allocated_height (widget)); - if (GTK_WIDGET_CLASS (gtk_drawing_area_parent_class)->draw) - return GTK_WIDGET_CLASS (gtk_drawing_area_parent_class)->draw (widget, cr); - - return FALSE; + return GTK_WIDGET_CLASS (gtk_drawing_area_parent_class)->draw (widget, cr); } static void |