forked from AuroraMiddleware/gtk
Fix reversed assertion. (Pointed out by Austin Donnelly
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix reversed assertion. (Pointed out by Austin Donnelly <austin@greenend.org.uk>) * gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary and harmful call to gtk_paint_box(). We are going to paint onto the backing store later anyways.
This commit is contained in:
parent
42ffb3727e
commit
a1cc053be2
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
|
||||||
|
reversed assertion.
|
||||||
|
(Pointed out by Austin Donnelly <austin@greenend.org.uk>)
|
||||||
|
|
||||||
|
* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
|
||||||
|
and harmful call to gtk_paint_box(). We are going
|
||||||
|
to paint onto the backing store later anyways.
|
||||||
|
|
||||||
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
|
||||||
|
@ -145,7 +145,7 @@ gdk_colormap_real_destroy (GdkColormap *colormap)
|
|||||||
GdkColormapPrivate *private = (GdkColormapPrivate*) colormap;
|
GdkColormapPrivate *private = (GdkColormapPrivate*) colormap;
|
||||||
|
|
||||||
g_return_if_fail (colormap != NULL);
|
g_return_if_fail (colormap != NULL);
|
||||||
g_return_if_fail (private->ref_count > 0);
|
g_return_if_fail (private->ref_count == 0);
|
||||||
|
|
||||||
gdk_colormap_remove (colormap);
|
gdk_colormap_remove (colormap);
|
||||||
XFreeColormap (private->xdisplay, private->xcolormap);
|
XFreeColormap (private->xdisplay, private->xcolormap);
|
||||||
|
@ -145,7 +145,7 @@ gdk_colormap_real_destroy (GdkColormap *colormap)
|
|||||||
GdkColormapPrivate *private = (GdkColormapPrivate*) colormap;
|
GdkColormapPrivate *private = (GdkColormapPrivate*) colormap;
|
||||||
|
|
||||||
g_return_if_fail (colormap != NULL);
|
g_return_if_fail (colormap != NULL);
|
||||||
g_return_if_fail (private->ref_count > 0);
|
g_return_if_fail (private->ref_count == 0);
|
||||||
|
|
||||||
gdk_colormap_remove (colormap);
|
gdk_colormap_remove (colormap);
|
||||||
XFreeColormap (private->xdisplay, private->xcolormap);
|
XFreeColormap (private->xdisplay, private->xcolormap);
|
||||||
|
@ -249,11 +249,6 @@ gtk_ruler_expose (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
ruler = GTK_RULER (widget);
|
ruler = GTK_RULER (widget);
|
||||||
|
|
||||||
gtk_paint_box (widget->style, widget->window,
|
|
||||||
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
|
|
||||||
NULL, widget, "ruler",
|
|
||||||
0, 0, -1, -1);
|
|
||||||
|
|
||||||
gtk_ruler_draw_ticks (ruler);
|
gtk_ruler_draw_ticks (ruler);
|
||||||
|
|
||||||
gdk_draw_pixmap (widget->window,
|
gdk_draw_pixmap (widget->window,
|
||||||
|
Loading…
Reference in New Issue
Block a user