[gtk+/gtk-2-90: 7/200] Remove deprecated GtkImage functions
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 7/200] Remove deprecated GtkImage functions
- Date: Sun, 2 May 2010 23:57:13 +0000 (UTC)
commit 7fd68866fe3592d54a4aa812b7300b7520fce85b
Author: Christian Dywan <christian twotoasts de>
Date: Wed Oct 7 17:41:57 2009 +0200
Remove deprecated GtkImage functions
gtk/gtkimage.c | 40 ----------------------------------------
gtk/gtkimage.h | 11 -----------
2 files changed, 0 insertions(+), 51 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 87e0b08..9edae99 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1526,46 +1526,6 @@ gtk_image_new (void)
return g_object_new (GTK_TYPE_IMAGE, NULL);
}
-/**
- * gtk_image_set:
- * @image: a #GtkImage
- * @val: a #GdkImage
- * @mask: a #GdkBitmap that indicates which parts of the image should be transparent.
- *
- * Sets the #GtkImage.
- *
- * Deprecated: 2.0: Use gtk_image_set_from_image() instead.
- */
-void
-gtk_image_set (GtkImage *image,
- GdkImage *val,
- GdkBitmap *mask)
-{
- g_return_if_fail (GTK_IS_IMAGE (image));
-
- gtk_image_set_from_image (image, val, mask);
-}
-
-/**
- * gtk_image_get:
- * @image: a #GtkImage
- * @val: return location for a #GdkImage
- * @mask: a #GdkBitmap that indicates which parts of the image should be transparent.
- *
- * Gets the #GtkImage.
- *
- * Deprecated: 2.0: Use gtk_image_get_image() instead.
- */
-void
-gtk_image_get (GtkImage *image,
- GdkImage **val,
- GdkBitmap **mask)
-{
- g_return_if_fail (GTK_IS_IMAGE (image));
-
- gtk_image_get_image (image, val, mask);
-}
-
static void
gtk_image_reset_anim_iter (GtkImage *image)
{
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h
index dd6153c..2170ff7 100644
--- a/gtk/gtkimage.h
+++ b/gtk/gtkimage.h
@@ -258,17 +258,6 @@ void gtk_image_get_gicon (GtkImage *image,
GtkIconSize *size);
gint gtk_image_get_pixel_size (GtkImage *image);
-#ifndef GTK_DISABLE_DEPRECATED
-/* These three are deprecated */
-
-void gtk_image_set (GtkImage *image,
- GdkImage *val,
- GdkBitmap *mask);
-void gtk_image_get (GtkImage *image,
- GdkImage **val,
- GdkBitmap **mask);
-#endif /* GTK_DISABLE_DEPRECATED */
-
G_END_DECLS
#endif /* __GTK_IMAGE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]