+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
+Tue Feb 26 19:32:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
+ up before drawing the scale values so that the number
+ is drawn in the right place instead of one step
+ back. (#61743, patch from Satyajit Kanungo)
+
Tue Feb 26 19:16:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
range = GTK_RANGE (widget);
scale = GTK_SCALE (widget);
hscale = GTK_HSCALE (widget);
-
+
+ /* We need to chain up _first_ so the various geometry members of
+ * GtkRange struct are updated.
+ */
+ if (GTK_WIDGET_CLASS (parent_class)->expose_event)
+ GTK_WIDGET_CLASS (parent_class)->expose_event (widget, event);
+
if (scale->draw_value)
{
PangoLayout *layout;
g_object_unref (G_OBJECT (layout));
}
-
- return (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event);
+
+ return FALSE;
}
scale = GTK_SCALE (widget);
vscale = GTK_VSCALE (widget);
+ /* We need to chain up _first_ so the various geometry members of
+ * GtkRange struct are updated.
+ */
+ if (GTK_WIDGET_CLASS (parent_class)->expose_event)
+ GTK_WIDGET_CLASS (parent_class)->expose_event (widget, event);
+
if (scale->draw_value)
{
PangoLayout *layout;
g_object_unref (G_OBJECT (layout));
}
- return (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event);
+ return FALSE;
}