[gtk: 47/88] gtk/window: Remove out-dated comment
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 47/88] gtk/window: Remove out-dated comment
- Date: Tue, 8 Dec 2020 15:38:42 +0000 (UTC)
commit ca65ee8d50e6cc10f20f63f918e41fab02ac9463
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]