[gtk+/wip/attachment-parameters-4: 3/20] gdkwindowimpl: implement move_using_params ()
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attachment-parameters-4: 3/20] gdkwindowimpl: implement move_using_params ()
- Date: Sun, 27 Dec 2015 01:36:46 +0000 (UTC)
commit a40bda470f06d20035e697639d26b7f3b28d0572
Author: William Hua <william hua canonical com>
Date: Thu Dec 24 00:25:15 2015 -0500
gdkwindowimpl: implement move_using_params ()
gdk/gdkwindowimpl.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindowimpl.c b/gdk/gdkwindowimpl.c
index b7ec4ed..b5322b8 100644
--- a/gdk/gdkwindowimpl.c
+++ b/gdk/gdkwindowimpl.c
@@ -27,7 +27,7 @@
#include "gdkwindowimpl.h"
#include "gdkinternals.h"
-
+#include "gdkattachparamsprivate.h"
G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT);
@@ -47,10 +47,18 @@ gdk_window_impl_process_updates_recurse (GdkWindow *window,
}
static void
+gdk_window_impl_move_using_params (GdkWindow *window,
+ const GdkAttachParams *params)
+{
+ gdk_attach_params_move_window (params, window);
+}
+
+static void
gdk_window_impl_class_init (GdkWindowImplClass *impl_class)
{
impl_class->beep = gdk_window_impl_beep;
impl_class->process_updates_recurse = gdk_window_impl_process_updates_recurse;
+ impl_class->move_using_params = gdk_window_impl_move_using_params;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]