[gtk/matthiasc/surface-state-rework: 47/80] gtk/window: Remove out-dated comment
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/surface-state-rework: 47/80] gtk/window: Remove out-dated comment
- Date: Sat, 5 Dec 2020 17:42:39 +0000 (UTC)
commit 0571357e4f24658c0c05f9e941e486be9c0ab5bb
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Dec 2 16:44:49 2020 +0100
gtk/window: Remove out-dated comment
gtk/gtkwindow.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 42f35da098..75c12a945e 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4256,9 +4256,6 @@ toplevel_compute_size (GdkToplevel *toplevel,
/* Override with default size */
if (info)
{
- /* Take width of shadows/headerbar into account. We want to set the
- * default size of the content area and not the window area.
- */
int default_width_csd = info->default_width;
int default_height_csd = info->default_height;
gtk_window_update_csd_size (window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]