diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-21 21:44:08 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-21 21:44:08 +0000 |
commit | bffb11e1d6ae1ad96d8b7986a5801d1b6e0be62b (patch) | |
tree | 0c00ca80cfe33bfa49dadcc6285f14aad7a834e5 /gdk/gdkimage.c | |
parent | b56118cf132c85f4a0a66e27994c54b97d351861 (diff) | |
download | gtk+-bffb11e1d6ae1ad96d8b7986a5801d1b6e0be62b.tar.gz |
Version 1.3.11, interface, binary age 0.
Wed Nov 21 15:21:26 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (GTK_MICRO_VERSION): Version 1.3.11,
interface, binary age 0.
* NEWS: Updates
* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
fixes in docs.
* gtk/gtkmain.h: Remove unused and misnamespaced
get_gtk_win32_directory() prototype.
* gdk/gdkimage.c (gdk_image_get): Fix parameter names
to match header.
* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
to match docs.
* gdk/gdkevents.c (gdk_event_get_coords)
gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
gtk/gtkdnd.c (gtk_drag_set_icon_stock):
Fix parameter names in docs.
* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
(#64961, Akira Tagoh)
Diffstat (limited to 'gdk/gdkimage.c')
-rw-r--r-- | gdk/gdkimage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index 76ecc7eec4..71ae136e08 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -61,7 +61,7 @@ gdk_image_unref (GdkImage *image) /** * gdk_image_get: - * @window: a #GdkWindow + * @drawable: a #GdkDrawable * @x: x coordinate in @window * @y: y coordinate in @window * @width: width of area in @window @@ -75,19 +75,19 @@ gdk_image_unref (GdkImage *image) * Return value: a new #GdkImage or %NULL **/ GdkImage* -gdk_image_get (GdkWindow *window, +gdk_image_get (GdkWindow *drawable, gint x, gint y, gint width, gint height) { - g_return_val_if_fail (GDK_IS_DRAWABLE (window), NULL); + g_return_val_if_fail (GDK_IS_DRAWABLE (drawable), NULL); g_return_val_if_fail (x >= 0, NULL); g_return_val_if_fail (y >= 0, NULL); g_return_val_if_fail (width >= 0, NULL); g_return_val_if_fail (height >= 0, NULL); - return gdk_drawable_get_image (window, x, y, width, height); + return gdk_drawable_get_image (drawable, y, width, height); } /** |