[gtk: 82/88] gtk/headerbar: Remove unused 'state' field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 82/88] gtk/headerbar: Remove unused 'state' field
- Date: Tue, 8 Dec 2020 15:38:47 +0000 (UTC)
commit 8f8c5040dbfc9fe1bac0df7664c39f65c3110428
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Dec 7 16:04:01 2020 +0100
gtk/headerbar: Remove unused 'state' field
gtk/gtkheaderbar.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 5ed128c4c2..1cb9e8185a 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -130,8 +130,6 @@ struct _GtkHeaderBar
guint show_title_buttons : 1;
guint track_default_decoration : 1;
-
- GdkToplevelState state;
};
typedef struct _GtkHeaderBarClass GtkHeaderBarClass;
@@ -613,7 +611,6 @@ gtk_header_bar_init (GtkHeaderBar *bar)
bar->title_widget = NULL;
bar->decoration_layout = NULL;
bar->show_title_buttons = TRUE;
- bar->state = GDK_TOPLEVEL_STATE_WITHDRAWN;
bar->handle = gtk_window_handle_new ();
gtk_widget_set_parent (bar->handle, GTK_WIDGET (bar));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]