mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
image: Make final
This commit is contained in:
parent
86f81a11d8
commit
f47a84f233
@ -76,6 +76,18 @@
|
|||||||
* property.
|
* property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
typedef struct _GtkImageClass GtkImageClass;
|
||||||
|
|
||||||
|
struct _GtkImage
|
||||||
|
{
|
||||||
|
GtkWidget parent_instance;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _GtkImageClass
|
||||||
|
{
|
||||||
|
GtkWidgetClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -38,14 +38,9 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define GTK_TYPE_IMAGE (gtk_image_get_type ())
|
#define GTK_TYPE_IMAGE (gtk_image_get_type ())
|
||||||
#define GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage))
|
#define GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage))
|
||||||
#define GTK_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE, GtkImageClass))
|
|
||||||
#define GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE))
|
#define GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE))
|
||||||
#define GTK_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE))
|
|
||||||
#define GTK_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE, GtkImageClass))
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GtkImage GtkImage;
|
typedef struct _GtkImage GtkImage;
|
||||||
typedef struct _GtkImageClass GtkImageClass;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkImageType:
|
* GtkImageType:
|
||||||
@ -73,28 +68,6 @@ typedef enum
|
|||||||
GTK_IMAGE_PAINTABLE
|
GTK_IMAGE_PAINTABLE
|
||||||
} GtkImageType;
|
} GtkImageType;
|
||||||
|
|
||||||
/**
|
|
||||||
* GtkImage:
|
|
||||||
*
|
|
||||||
* This struct contain private data only and should be accessed by the functions
|
|
||||||
* below.
|
|
||||||
*/
|
|
||||||
struct _GtkImage
|
|
||||||
{
|
|
||||||
GtkWidget parent_instance;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GtkImageClass
|
|
||||||
{
|
|
||||||
GtkWidgetClass parent_class;
|
|
||||||
|
|
||||||
/* Padding for future expansion */
|
|
||||||
void (*_gtk_reserved1) (void);
|
|
||||||
void (*_gtk_reserved2) (void);
|
|
||||||
void (*_gtk_reserved3) (void);
|
|
||||||
void (*_gtk_reserved4) (void);
|
|
||||||
};
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_image_get_type (void) G_GNUC_CONST;
|
GType gtk_image_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user