win32 geometry: reorganize code to avoid prototypes
This commit is contained in:
parent
3bb23ef2fe
commit
05f1994808
@ -46,8 +46,25 @@
|
||||
|
||||
typedef struct _GdkWindowParentPos GdkWindowParentPos;
|
||||
|
||||
static void tmp_unset_bg (GdkWindow *window);
|
||||
static void tmp_reset_bg (GdkWindow *window);
|
||||
static void
|
||||
tmp_unset_bg (GdkWindow *window)
|
||||
{
|
||||
GdkWindowImplWin32 *impl;
|
||||
|
||||
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
|
||||
|
||||
impl->no_bg = TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
tmp_reset_bg (GdkWindow *window)
|
||||
{
|
||||
GdkWindowImplWin32 *impl;
|
||||
|
||||
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
|
||||
|
||||
impl->no_bg = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_window_move_resize_child (GdkWindow *window,
|
||||
@ -121,26 +138,6 @@ _gdk_win32_window_tmp_unset_bg (GdkWindow *window,
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
tmp_unset_bg (GdkWindow *window)
|
||||
{
|
||||
GdkWindowImplWin32 *impl;
|
||||
|
||||
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
|
||||
|
||||
impl->no_bg = TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
tmp_reset_bg (GdkWindow *window)
|
||||
{
|
||||
GdkWindowImplWin32 *impl;
|
||||
|
||||
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
|
||||
|
||||
impl->no_bg = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_win32_window_tmp_unset_parent_bg (GdkWindow *window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user