summaryrefslogtreecommitdiff
path: root/gtk/gtkdrawingarea.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-07-20 08:13:24 -0700
committerCosimo Cecchi <cosimoc@gnome.org>2015-07-20 08:43:08 -0700
commit11ce41d9c423a5339e4e4c4c41a5db20c48e33f0 (patch)
treeb982d5c189f0badaf786c9470e3451b5e91edb57 /gtk/gtkdrawingarea.c
parent2dfad2b0d1cad454c4b68625be1e169023aaaed4 (diff)
downloadgtk+-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.c5
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