mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
gdktoplevelsize: Comment out some unused code
This is not currently useful, and clang complains.
This commit is contained in:
parent
4a96e790b1
commit
1be4684441
@ -150,6 +150,7 @@ gdk_toplevel_size_set_shadow_width (GdkToplevelSize *size,
|
|||||||
void
|
void
|
||||||
gdk_toplevel_size_validate (GdkToplevelSize *size)
|
gdk_toplevel_size_validate (GdkToplevelSize *size)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
int geometry_width, geometry_height;
|
int geometry_width, geometry_height;
|
||||||
|
|
||||||
geometry_width = size->width;
|
geometry_width = size->width;
|
||||||
@ -159,4 +160,5 @@ gdk_toplevel_size_validate (GdkToplevelSize *size)
|
|||||||
geometry_width -= size->shadow.left + size->shadow.right;
|
geometry_width -= size->shadow.left + size->shadow.right;
|
||||||
geometry_height -= size->shadow.top + size->shadow.bottom;
|
geometry_height -= size->shadow.top + size->shadow.bottom;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user