[gtk+] win32 geometry: reorganize code to avoid prototypes
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32 geometry: reorganize code to avoid prototypes
- Date: Sat, 23 Jan 2016 13:44:36 +0000 (UTC)
commit 05f1994808d87b703156284768fcff232ff3ad09
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Jan 23 14:35:59 2016 -0800
win32 geometry: reorganize code to avoid prototypes
gdk/win32/gdkgeometry-win32.c | 41 +++++++++++++++++++----------------------
1 files changed, 19 insertions(+), 22 deletions(-)
---
diff --git a/gdk/win32/gdkgeometry-win32.c b/gdk/win32/gdkgeometry-win32.c
index f9764eb..7d955f3 100644
--- a/gdk/win32/gdkgeometry-win32.c
+++ b/gdk/win32/gdkgeometry-win32.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]