forked from AuroraMiddleware/gtk
image definition: Drop unused struct
We no longer support stock images.
This commit is contained in:
parent
2218020db9
commit
6de5cd57e7
@ -20,7 +20,6 @@
|
||||
#include "gtkimagedefinitionprivate.h"
|
||||
|
||||
typedef struct _GtkImageDefinitionEmpty GtkImageDefinitionEmpty;
|
||||
typedef struct _GtkImageDefinitionStock GtkImageDefinitionStock;
|
||||
typedef struct _GtkImageDefinitionIconName GtkImageDefinitionIconName;
|
||||
typedef struct _GtkImageDefinitionGIcon GtkImageDefinitionGIcon;
|
||||
typedef struct _GtkImageDefinitionSurface GtkImageDefinitionSurface;
|
||||
@ -31,13 +30,6 @@ struct _GtkImageDefinitionEmpty {
|
||||
gint ref_count;
|
||||
};
|
||||
|
||||
struct _GtkImageDefinitionStock {
|
||||
GtkImageType type;
|
||||
gint ref_count;
|
||||
|
||||
char *id;
|
||||
};
|
||||
|
||||
struct _GtkImageDefinitionIconName {
|
||||
GtkImageType type;
|
||||
gint ref_count;
|
||||
@ -70,7 +62,6 @@ union _GtkImageDefinition
|
||||
{
|
||||
GtkImageType type;
|
||||
GtkImageDefinitionEmpty empty;
|
||||
GtkImageDefinitionStock stock;
|
||||
GtkImageDefinitionIconName icon_name;
|
||||
GtkImageDefinitionGIcon gicon;
|
||||
GtkImageDefinitionSurface surface;
|
||||
@ -90,7 +81,6 @@ gtk_image_definition_alloc (GtkImageType type)
|
||||
{
|
||||
static gsize sizes[] = {
|
||||
sizeof (GtkImageDefinitionEmpty),
|
||||
sizeof (GtkImageDefinitionStock),
|
||||
sizeof (GtkImageDefinitionIconName),
|
||||
sizeof (GtkImageDefinitionGIcon),
|
||||
sizeof (GtkImageDefinitionSurface),
|
||||
|
Loading…
Reference in New Issue
Block a user