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:
Manish Singh
1999-05-02 22:34:49 +00:00
parent 3046ab9f0f
commit edf4aa4bcd
8 changed files with 42 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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);
}