[gtk+/gtk-2-90: 7/146] Remove deprecated GtkImage functions
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 7/146] Remove deprecated GtkImage functions
- Date: Wed, 9 Dec 2009 07:35:33 +0000 (UTC)
commit 94ed1f3bcbb012507478eec8481551443b317b2c
Author: Christian Dywan <christian twotoasts de>
Date: Wed Oct 7 17:41:57 2009 +0200
Remove deprecated GtkImage functions
gtk/gtkimage.c | 20 --------------------
gtk/gtkimage.h | 11 -----------
2 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 6c53d30..caa673b 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1417,26 +1417,6 @@ gtk_image_new (void)
return g_object_new (GTK_TYPE_IMAGE, NULL);
}
-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);
-}
-
-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 8c5e77b..e7a883b 100644
--- a/gtk/gtkimage.h
+++ b/gtk/gtkimage.h
@@ -230,17 +230,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]