diff options
Diffstat (limited to 'eel/eel-gtk-container.c')
-rw-r--r-- | eel/eel-gtk-container.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/eel/eel-gtk-container.c b/eel/eel-gtk-container.c index cb841fd5..9a1df176 100644 --- a/eel/eel-gtk-container.c +++ b/eel/eel-gtk-container.c @@ -43,7 +43,11 @@ void eel_gtk_container_child_expose_event (GtkContainer *container, GtkWidget *child, +#if GTK_CHECK_VERSION (3, 0, 0) + cairo_t *cr) +#else GdkEventExpose *event) +#endif { g_return_if_fail (GTK_IS_CONTAINER (container)); @@ -54,7 +58,11 @@ eel_gtk_container_child_expose_event (GtkContainer *container, g_return_if_fail (GTK_IS_WIDGET (child)); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_container_propagate_draw (container, child, cr); +#else gtk_container_propagate_expose (container, child, event); +#endif } /** |