remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed

Fri Aug 25 12:16:15 2000  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
	from switch statements, since Tor removed the enumeration
	value.

	* gdk/x11/gdkimage-x11.c (gdk_image_get):
	s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
This commit is contained in:
Owen Taylor 2000-08-31 02:04:54 +00:00 committed by Owen Taylor
parent 0176b387c8
commit d717bbe4df
8 changed files with 65 additions and 4 deletions

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -1,3 +1,12 @@
Fri Aug 25 12:16:15 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.
* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* */*.h: Use G_GNUC_CONST.

View File

@ -355,7 +355,6 @@ gdk_image_new (GdkImageType type,
break;
case GDK_IMAGE_FASTEST:
case GDK_IMAGE_SHARED_PIXMAP:
g_assert_not_reached ();
}
@ -381,9 +380,9 @@ gdk_image_get (GdkWindow *window,
GdkImage *image;
GdkImagePrivateX11 *private;
g_return_val_if_fail (GDK_IS_WINDOW (window), NULL);
g_return_val_if_fail (GDK_IS_DRAWABLE (window), NULL);
if (GDK_WINDOW_DESTROYED (window))
if (GDK_IS_WINDOW (window) && GDK_WINDOW_DESTROYED (window))
return NULL;
image = g_object_new (gdk_image_get_type (), NULL);
@ -492,7 +491,6 @@ gdk_x11_image_destroy (GdkImage *image)
break;
case GDK_IMAGE_FASTEST:
case GDK_IMAGE_SHARED_PIXMAP:
g_assert_not_reached ();
}