Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
API: remove GdkImage
Browse files Browse the repository at this point in the history
It was unused and buggy.
  • Loading branch information
Benjamin Otte committed Aug 10, 2010
1 parent 6f50845 commit 14fe04e
Show file tree
Hide file tree
Showing 35 changed files with 3 additions and 2,517 deletions.
1 change: 0 additions & 1 deletion build/win32/vs9/gdk-win32.vcproj
Expand Up @@ -134,7 +134,6 @@
<File RelativePath="..\..\..\gdk\win32\gdkgeometry-win32.c" />
<File RelativePath="..\..\..\gdk\win32\gdkglobals-win32.c" />
<File RelativePath="..\..\..\gdk\win32\gdkim-win32.c" />
<File RelativePath="..\..\..\gdk\win32\gdkimage-win32.c" />
<File RelativePath="..\..\..\gdk\win32\gdkinput-win32.c" />
<File RelativePath="..\..\..\gdk\win32\gdkinput.c" />
<File RelativePath="..\..\..\gdk\win32\gdkkeys-win32.c" />
Expand Down
1 change: 0 additions & 1 deletion build/win32/vs9/gtk+.vsprops
Expand Up @@ -108,7 +108,6 @@ copy ..\..\..\gdk\gdkevents.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#
copy ..\..\..\gdk\gdkfont.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdkgc.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdki18n.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdkimage.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdkinput.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdkkeys.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
copy ..\..\..\gdk\gdkkeysyms.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk&#x0D;&#x0A;
Expand Down
1 change: 0 additions & 1 deletion docs/reference/gdk/gdk-docs.sgml
Expand Up @@ -28,7 +28,6 @@
<xi:include href="xml/drawing.xml" />

<xi:include href="xml/pixmaps.xml" />
<xi:include href="xml/images.xml" />
<xi:include href="xml/pixbufs.xml" />

<xi:include href="xml/colors.xml" />
Expand Down
42 changes: 0 additions & 42 deletions docs/reference/gdk/gdk3-sections.txt
Expand Up @@ -79,7 +79,6 @@ gdk_gc_values_mask_get_type
gdk_grab_ownership_get_type
gdk_grab_status_get_type
gdk_gravity_get_type
gdk_image_type_get_type
gdk_input_mode_get_type
gdk_input_source_get_type
gdk_join_style_get_type
Expand Down Expand Up @@ -275,43 +274,6 @@ GdkPixmapObject
GdkPixmapObjectClass
</SECTION>

<SECTION>
<TITLE>Images</TITLE>
<FILE>images</FILE>
GdkImage
gdk_image_new
GdkImageType
gdk_image_get_colormap
gdk_image_set_colormap
gdk_image_get_bits_per_pixel
gdk_image_get_bytes_per_pixel
gdk_image_get_bytes_per_line
gdk_image_get_byte_order
gdk_image_get_depth
gdk_image_get_height
gdk_image_get_image_type
gdk_image_get_visual
gdk_image_get_width
gdk_image_get_pixels

<SUBSECTION>
gdk_image_put_pixel
gdk_image_get_pixel

<SUBSECTION Standard>
GDK_IMAGE
GDK_TYPE_IMAGE
GDK_IS_IMAGE
GDK_IMAGE_CLASS
GDK_IMAGE_GET_CLASS
GDK_IS_IMAGE_CLASS
GDK_TYPE_IMAGE_TYPE

<SUBSECTION Private>
GdkImageClass
gdk_image_get_type
</SECTION>

<SECTION>
<TITLE>Pixbufs</TITLE>
<FILE>pixbufs</FILE>
Expand Down Expand Up @@ -1176,8 +1138,6 @@ GDK_PIXMAP_XID
GDK_DISPLAY_XDISPLAY
GDK_DRAWABLE_XDISPLAY
GDK_DRAWABLE_XID
GDK_IMAGE_XDISPLAY
GDK_IMAGE_XIMAGE
GDK_GC_XDISPLAY
GDK_COLORMAP_XDISPLAY
GDK_COLORMAP_XCOLORMAP
Expand Down Expand Up @@ -1232,8 +1192,6 @@ gdk_x11_get_default_root_xwindow
gdk_x11_get_default_screen
gdk_x11_get_default_xdisplay
gdk_x11_grab_server
gdk_x11_image_get_xdisplay
gdk_x11_image_get_ximage
gdk_x11_screen_get_screen_number
gdk_x11_screen_get_xscreen
gdk_x11_ungrab_server
Expand Down
228 changes: 0 additions & 228 deletions docs/reference/gdk/tmpl/images.sgml

This file was deleted.

10 changes: 1 addition & 9 deletions docs/reference/gdk/tmpl/visuals.sgml
Expand Up @@ -17,14 +17,6 @@ of an RGB pixel may be in the top 8 bits of the pixel, or may be in the lower
4 bits.
</para>
<para>
Usually you can avoid thinking about visuals in GTK+. Visuals are useful to
interpret the contents of a #GdkImage, but you should avoid #GdkImage precisely
because its contents depend on the display hardware; use #GdkPixbuf instead, for
all but the most low-level purposes. Also, anytime you provide a #GdkColormap,
the visual is implied as part of the colormap (gdk_colormap_get_visual()), so
you won't have to provide a visual in addition.
</para>
<para>
There are several standard visuals. The visual returned
by gdk_visual_get_system() is the system's default
visual. gdk_rgb_get_visual() return the visual most
Expand All @@ -48,7 +40,7 @@ then %GDK_VISUAL_STATIC_GRAY.

<!-- ##### SECTION See_Also ##### -->
<para>
#GdkImage, #GdkColormap, #GdkRGB
#GdkColormap
</para>

<!-- ##### SECTION Stability_Level ##### -->
Expand Down
36 changes: 0 additions & 36 deletions docs/reference/gdk/tmpl/x_interaction.sgml
Expand Up @@ -97,24 +97,6 @@ Returns the X resource (window or pixmap) belonging to a #GdkDrawable.
@Returns: the ID of @win's X resource.


<!-- ##### MACRO GDK_IMAGE_XDISPLAY ##### -->
<para>
Returns the display of a #GdkImage.
</para>

@image: a #GdkImage.
@Returns: an Xlib <type>Display*</type>.


<!-- ##### MACRO GDK_IMAGE_XIMAGE ##### -->
<para>
Returns the X image belonging to a #GdkImage.
</para>

@image: a #GdkImage.
@Returns: an <type>XImage*</type>.


<!-- ##### MACRO GDK_GC_XDISPLAY ##### -->
<para>
Returns the display of a #GdkGC.
Expand Down Expand Up @@ -610,24 +592,6 @@ Another name for GDK_DRAWABLE_XID().
@void:


<!-- ##### FUNCTION gdk_x11_image_get_xdisplay ##### -->
<para>

</para>

@image:
@Returns:


<!-- ##### FUNCTION gdk_x11_image_get_ximage ##### -->
<para>

</para>

@image:
@Returns:


<!-- ##### FUNCTION gdk_x11_screen_get_screen_number ##### -->
<para>

Expand Down

0 comments on commit 14fe04e

Please sign in to comment.