summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-05-12 13:16:40 +0000
committerTim Janik <timj@src.gnome.org>2001-05-12 13:16:40 +0000
commitee3cc234b87ae911fb3778fd9471b752236f400b (patch)
tree23df85d12e4f5d4100c452aae2f837126ab63e82
parent7cf827771d63b23d104167633ef199e32c814eaf (diff)
downloadgdk-pixbuf-ee3cc234b87ae911fb3778fd9471b752236f400b.tar.gz
remember widget's double buffering state across expose event, so we still
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_main_do_event): remember widget's double buffering state across expose event, so we still call end_paint().
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-05
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gtk/gtkmain.c13
8 files changed, 42 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 9d527df0b..2c29dbe21 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
+ buffering state across expose event, so we still call end_paint().
+
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index d0122f3bc..689cea9b2 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -873,12 +873,13 @@ gtk_main_do_event (GdkEvent *event)
case GDK_EXPOSE:
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
- gdk_window_begin_paint_region (event->any.window, event->expose.region);
-
- gtk_widget_send_expose (event_widget, event);
-
- if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
- gdk_window_end_paint (event->any.window);
+ {
+ gdk_window_begin_paint_region (event->any.window, event->expose.region);
+ gtk_widget_send_expose (event_widget, event);
+ gdk_window_end_paint (event->any.window);
+ }
+ else
+ gtk_widget_send_expose (event_widget, event);
break;
case GDK_PROPERTY_NOTIFY: