[gtk/global-coords: 34/37] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/global-coords: 34/37] Cosmetics
- Date: Wed, 29 May 2019 18:06:37 +0000 (UTC)
commit b867cbe0d8eaeaf731c6b91d13842d21a782b4bb
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 29 11:26:51 2019 -0400
Cosmetics
Remove an unused variable.
gtk/gtkwindow.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index f898b6c9df..6c4031688f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5007,7 +5007,6 @@ gtk_window_unmap (GtkWidget *widget)
GtkWindow *window = GTK_WINDOW (widget);
GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
GtkWidget *child;
- GtkWindowGeometryInfo *info;
GdkSurfaceState state;
GTK_WIDGET_CLASS (gtk_window_parent_class)->unmap (widget);
@@ -5020,8 +5019,6 @@ gtk_window_unmap (GtkWidget *widget)
}
priv->configure_notify_received = FALSE;
- info = gtk_window_get_geometry_info (window, FALSE);
-
state = gdk_surface_get_state (priv->surface);
priv->iconify_initially = (state & GDK_SURFACE_STATE_ICONIFIED) != 0;
priv->maximize_initially = (state & GDK_SURFACE_STATE_MAXIMIZED) != 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]