surface: reformat function
authorBenjamin Otte <otte@redhat.com>
Sat, 22 Apr 2023 14:35:16 +0000 (16:35 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 22 Apr 2023 14:35:16 +0000 (16:35 +0200)
commit104b5ef157b53c8fd766eb157485e58758b4c3dc
treec407ab2a7d14d8e437cbf88acaf4bfbc261632d7
parent893862a51a5a8734575000f2c66a5556d52a9f83
surface: reformat function

Make the function follow usual coding conventions.

And while doing that, remove duplicate functionality.
gdk/gdksurface.c