From e9ec45e5e33dd764b9496256891ee937328a72b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 13 Apr 2023 22:47:26 +0200 Subject: [PATCH] shell/perf-helper: Remove unused struct members Some parameters are only relevant when creating the window, and are therefore never read from the window info struct. Part-of: --- src/shell-perf-helper.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/shell-perf-helper.c b/src/shell-perf-helper.c index 16cbb748d..addf011e9 100644 --- a/src/shell-perf-helper.c +++ b/src/shell-perf-helper.c @@ -38,11 +38,8 @@ static const gchar introspection_xml[] = typedef struct { GtkWidget *window; - int width; - int height; guint alpha : 1; - guint maximized : 1; guint redraws : 1; guint mapped : 1; guint exposed : 1; @@ -209,10 +206,7 @@ create_window (int width, GtkWidget *child; info = g_new0 (WindowInfo, 1); - info->width = width; - info->height = height; info->alpha = alpha; - info->maximized = maximized; info->redraws = redraws; info->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); if (alpha)