[gtk+/wip/baedert/gtkimageview: 274/279] Remove GtkScalingImage
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 274/279] Remove GtkScalingImage
- Date: Fri, 1 Apr 2016 09:37:22 +0000 (UTC)
commit 15a91e44eb7e9ad74fa4622f2d9ba42ff07d534b
Author: Timm Bäder <mail baedert org>
Date: Mon Mar 21 15:38:43 2016 +0100
Remove GtkScalingImage
gtk/gtkabstractimage.c | 24 ------------------------
gtk/gtkabstractimage.h | 33 ---------------------------------
2 files changed, 0 insertions(+), 57 deletions(-)
---
diff --git a/gtk/gtkabstractimage.c b/gtk/gtkabstractimage.c
index ce2729d..1256df5 100644
--- a/gtk/gtkabstractimage.c
+++ b/gtk/gtkabstractimage.c
@@ -283,27 +283,3 @@ gtk_surface_image_class_init (GtkSurfaceImageClass *klass)
}
/* }}} */
-
-/* GtkScalingImage {{{ */
-
-G_DEFINE_TYPE (GtkScalingImage, gtk_scaling_image, GTK_TYPE_ABSTRACT_IMAGE)
-
-static void
-gtk_scaling_image_init (GtkScalingImage *image)
-{
-
-}
-
-static void
-gtk_scaling_image_class_init (GtkScalingImageClass *image)
-{
-
-}
-
-void
-gtk_scaling_image_set_scale (GtkScalingImage *image, double scale)
-{
- GTK_SCALING_IMAGE_GET_CLASS (image)->set_scale (image, scale);
-}
-
-/* }}} */
diff --git a/gtk/gtkabstractimage.h b/gtk/gtkabstractimage.h
index 6711671..f0b7510 100644
--- a/gtk/gtkabstractimage.h
+++ b/gtk/gtkabstractimage.h
@@ -174,39 +174,6 @@ GtkSurfaceImage *gtk_surface_image_new (cairo_surface_t *surface);
GDK_AVAILABLE_IN_3_20
GtkSurfaceImage *gtk_surface_image_new_from_pixbuf (const GdkPixbuf *pixbuf, int scale_factor);
-/* ------------------------------------------------------------------------------------ */
-
-typedef struct _GtkScalingImage GtkScalingImage;
-typedef struct _GtkScalingImageClass GtkScalingImageClass;
-
-
-#define GTK_TYPE_SCALING_IMAGE (gtk_scaling_image_get_type ())
-#define GTK_SCALING_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_SCALING_IMAGE,
GtkScalingImage))
-#define GTK_SCALING_IMAGE_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_SCALING_IMAGE,
GtkScalingImageClass))
-#define GTK_IS_SCALING_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_SCALING_IMAGE))
-#define GTK_IS_SCALING_IMAGE_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_SCALING_IMAGE))
-#define GTK_SCALING_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALING_IMAGE,
GtkScalingImageClass))
-
-struct _GtkScalingImage
-{
- GtkAbstractImage parent;
-};
-
-struct _GtkScalingImageClass
-{
- GtkAbstractImageClass parent_class;
-
- void (*set_scale) (GtkScalingImage *image, double scale);
-};
-
-GDK_AVAILABLE_IN_3_20
-GType gtk_scaling_image_get_type (void) G_GNUC_CONST;
-
-GDK_AVAILABLE_IN_3_20
-void gtk_scaling_image_set_scale (GtkScalingImage *image, double scale);
-
-
-
G_END_DECLS
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]