[gtk+/wip/attach-params: 3/20] gdkwindowimpl: implement move_using_params ()
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attach-params: 3/20] gdkwindowimpl: implement move_using_params ()
- Date: Thu, 4 Feb 2016 06:08:56 +0000 (UTC)
commit 8186ae4da6777d122397331648b76239adf908e3
Author: William Hua <william hua canonical com>
Date: Wed Feb 3 10:20:30 2016 -0500
gdkwindowimpl: implement move_using_params ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
gdk/gdkwindowimpl.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindowimpl.c b/gdk/gdkwindowimpl.c
index b7ec4ed..636296f 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,
+ GdkAttachParams *params)
+{
+ gdk_attach_params_default_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]