[gtk/resizing-fixes: 41/49] window: Drop an unused argument
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/resizing-fixes: 41/49] window: Drop an unused argument
- Date: Sat, 8 Aug 2020 21:27:17 +0000 (UTC)
commit 294d45f0c7ccc53c42a3942584daee3ca3f10dbb
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 7 20:56:20 2020 -0400
window: Drop an unused argument
gtk/gtkwindow.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 73dd05fa7d..84c0194292 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -328,7 +328,6 @@ typedef struct {
struct _GtkWindowGeometryInfo
{
-
GtkWindowLastGeometryInfo last;
};
@@ -5157,7 +5156,6 @@ _gtk_window_unset_focus_and_default (GtkWindow *window,
/* This function doesn't constrain to geometry hints */
static void
gtk_window_compute_configure_request_size (GtkWindow *window,
- guint flags,
int *width,
int *height)
{
@@ -5237,10 +5235,8 @@ gtk_window_compute_configure_request (GtkWindow *window,
guint new_flags;
int w, h;
+ gtk_window_compute_configure_request_size (window, &w, &h);
gtk_window_compute_hints (window, &new_geometry, &new_flags);
- gtk_window_compute_configure_request_size (window,
- new_flags,
- &w, &h);
gtk_window_update_fixed_size (window, &new_geometry, w, h);
gdk_surface_constrain_size (&new_geometry, new_flags,
w, h,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]