[gtk+] image definition: Drop unused struct
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] image definition: Drop unused struct
- Date: Fri, 1 Dec 2017 21:41:56 +0000 (UTC)
commit 6de5cd57e770478f009c28631daaa182e8b4fe41
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 1 10:12:17 2017 -0500
image definition: Drop unused struct
We no longer support stock images.
gtk/gtkimagedefinition.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkimagedefinition.c b/gtk/gtkimagedefinition.c
index d1a1c99..6c45ca4 100644
--- a/gtk/gtkimagedefinition.c
+++ b/gtk/gtkimagedefinition.c
@@ -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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]