[gtk/wip/baedert/for-master] menu: Remove unused members
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] menu: Remove unused members
- Date: Sat, 12 Oct 2019 15:43:34 +0000 (UTC)
commit 3383d32357d96b1c6beff31336e5b88170a335e9
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 12 17:27:58 2019 +0200
menu: Remove unused members
gtk/gtkmenu.c | 2 --
gtk/gtkmenuprivate.h | 10 ----------
2 files changed, 12 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 4b851d1937..fe5e0bef4a 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -892,8 +892,6 @@ gtk_menu_destroy (GtkWidget *widget)
gtk_widget_destroy (priv->toplevel);
}
- g_clear_pointer (&priv->heights, g_free);
-
GTK_WIDGET_CLASS (gtk_menu_parent_class)->destroy (widget);
}
diff --git a/gtk/gtkmenuprivate.h b/gtk/gtkmenuprivate.h
index 35efe5d7eb..4c6d630321 100644
--- a/gtk/gtkmenuprivate.h
+++ b/gtk/gtkmenuprivate.h
@@ -54,9 +54,6 @@ struct _GtkMenuPrivate
GtkAccelGroup *accel_group;
const char *accel_path;
- gint position_x;
- gint position_y;
-
GdkSurface *rect_surface;
GdkRectangle rect;
GtkWidget *widget;
@@ -83,14 +80,7 @@ struct _GtkMenuPrivate
guint ignore_button_release : 1;
guint no_toggle_size : 1;
- /* info used for the table */
- guint *heights;
- gint heights_length;
- gint requested_height;
-
gint monitor_num;
-
- gint n_rows;
};
G_GNUC_INTERNAL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]