[libegg] Ifdef GTK_WIDGET_MAPPED for compiling with -DGSEAL_ENABLE. See bug 615348.
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] Ifdef GTK_WIDGET_MAPPED for compiling with -DGSEAL_ENABLE. See bug 615348.
- Date: Sat, 10 Apr 2010 12:54:25 +0000 (UTC)
commit c03a66f7e61cddda5a9b2be2e0e3bc33e5a2692e
Author: Andre Klapper <a9016009 gmx de>
Date: Sat Apr 10 14:53:54 2010 +0200
Ifdef GTK_WIDGET_MAPPED for compiling with -DGSEAL_ENABLE. See bug 615348.
libegg/toolpalette/eggtoolitemgroup.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libegg/toolpalette/eggtoolitemgroup.c b/libegg/toolpalette/eggtoolitemgroup.c
index 02024e1..bff0164 100644
--- a/libegg/toolpalette/eggtoolitemgroup.c
+++ b/libegg/toolpalette/eggtoolitemgroup.c
@@ -992,7 +992,11 @@ egg_tool_item_group_size_allocate (GtkWidget *widget,
{
egg_tool_item_group_real_size_allocate (widget, allocation);
+#if GTK_CHECK_VERSION(2,20,0)
+ if (gtk_widget_get_mapped (widget))
+#else
if (GTK_WIDGET_MAPPED (widget))
+#endif
gdk_window_invalidate_rect (widget->window, NULL, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]