[gtk+] gtkbuilder: Remove unused struct
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkbuilder: Remove unused struct
- Date: Mon, 30 Jan 2017 17:09:41 +0000 (UTC)
commit de56947e86a141debc87876df9a1e30719d01e38
Author: Timm Bäder <mail baedert org>
Date: Sat Jan 28 18:24:30 2017 +0100
gtkbuilder: Remove unused struct
gtk/gtkbuilderparser.c | 11 -----------
gtk/gtkbuilderprivate.h | 6 ------
2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index b2c6288..cf9b398 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -485,14 +485,6 @@ free_object_info (ObjectInfo *info)
}
static void
-free_menu_info (MenuInfo *info)
-{
- g_free (info->id);
- g_hash_table_unref (info->objects);
- g_slice_free (MenuInfo, info);
-}
-
-static void
parse_child (ParserData *data,
const gchar *element_name,
const gchar **names,
@@ -1215,9 +1207,6 @@ free_info (CommonInfo *info)
case TAG_REQUIRES:
free_requires_info ((RequiresInfo *)info, NULL);
break;
- case TAG_MENU:
- free_menu_info ((MenuInfo *)info);
- break;
default:
g_assert_not_reached ();
}
diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h
index b95da34..c206fb9 100644
--- a/gtk/gtkbuilderprivate.h
+++ b/gtk/gtkbuilderprivate.h
@@ -45,12 +45,6 @@ typedef struct {
typedef struct {
TagInfo tag;
- gchar *id;
- GHashTable *objects;
-} MenuInfo;
-
-typedef struct {
- TagInfo tag;
GSList *packing_properties;
GObject *object;
CommonInfo *parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]