check private->destroyed before making the call
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before making the call -Yosh
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
|
||||
making the call
|
||||
|
||||
Sat May 1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* acinclude.m4
|
||||
|
||||
@@ -501,12 +501,14 @@ gdk_draw_lines (GdkDrawable *drawable,
|
||||
g_return_if_fail (gc != NULL);
|
||||
|
||||
drawable_private = (GdkWindowPrivate*) drawable;
|
||||
if (drawable_private->destroyed)
|
||||
return;
|
||||
gc_private = (GdkGCPrivate*) gc;
|
||||
|
||||
XDrawLines (drawable_private->xdisplay,
|
||||
drawable_private->xwindow,
|
||||
gc_private->xgc,
|
||||
(XPoint *) points,
|
||||
npoints,
|
||||
CoordModeOrigin);
|
||||
drawable_private->xwindow,
|
||||
gc_private->xgc,
|
||||
(XPoint *) points,
|
||||
npoints,
|
||||
CoordModeOrigin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user