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:
		@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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 ();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user