mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Remove NULL checks in meta_frame_layout_get_borders()
This function actually handles NULL. (And I'm going to pass some NULLs soon). https://bugzilla.gnome.org/show_bug.cgi?id=630203
This commit is contained in:
parent
4ac836fde4
commit
b4344b5ab5
@ -413,10 +413,7 @@ meta_frame_layout_get_borders (const MetaFrameLayout *layout,
|
||||
{
|
||||
int buttons_height, title_height;
|
||||
|
||||
g_return_if_fail (top_height != NULL);
|
||||
g_return_if_fail (bottom_height != NULL);
|
||||
g_return_if_fail (left_width != NULL);
|
||||
g_return_if_fail (right_width != NULL);
|
||||
g_return_if_fail (layout != NULL);
|
||||
|
||||
if (!layout->has_title)
|
||||
text_height = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user