summaryrefslogtreecommitdiff
path: root/atk/atkimage.h
diff options
context:
space:
mode:
authorErwin Ireland <eire@src.gnome.org>2001-04-30 15:55:54 +0000
committerErwin Ireland <eire@src.gnome.org>2001-04-30 15:55:54 +0000
commit2e4cfd2c72f2c962eb3a7ee4f002bfbbd0ca732c (patch)
tree2572da6998400c9edd88c11d302920c1c53afaf6 /atk/atkimage.h
parentd443584880e3905ef7ee7cd88e58534803bfc928 (diff)
downloadatk-2e4cfd2c72f2c962eb3a7ee4f002bfbbd0ca732c.tar.gz
Correct return type for atk_image_set_image_description()
Omit check for G_IS_VALUE when getting a value as value type is not known.
Diffstat (limited to 'atk/atkimage.h')
-rwxr-xr-xatk/atkimage.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/atk/atkimage.h b/atk/atkimage.h
index 59bf596..caa959e 100755
--- a/atk/atkimage.h
+++ b/atk/atkimage.h
@@ -68,16 +68,16 @@ struct _AtkImageIface
/*
* Gets the height of the image
*/
- gint ( *get_image_height) (AtkImage *image);
+ gint ( *get_image_height) (AtkImage *image);
/*
* Gets the width of the image
*/
- gint ( *get_image_width) (AtkImage *image);
+ gint ( *get_image_width) (AtkImage *image);
/*
* Sets the description of the image
*/
- void ( *set_image_description) (AtkImage *image,
- const gchar *description);
+ gboolean ( *set_image_description) (AtkImage *image,
+ const gchar *description);
};
GType atk_image_get_type (void);
@@ -85,12 +85,12 @@ GType atk_image_get_type (void);
AtkImageType atk_image_get_storage_type (AtkImage *image);
G_CONST_RETURN gchar* atk_image_get_image_description (AtkImage *image);
-gint atk_image_get_image_height (AtkImage *image);
+gint atk_image_get_image_height (AtkImage *image);
-gint atk_image_get_image_width (AtkImage *image);
+gint atk_image_get_image_width (AtkImage *image);
-void atk_image_set_image_description (AtkImage *image,
- const gchar *description);
+gboolean atk_image_set_image_description (AtkImage *image,
+ const gchar *description);
#ifdef __cplusplus