[gtk+/wip/attach-params: 3/20] gdkwindowimpl: implement move_using_params ()



commit 57486e2e3ce39c532c5b2eaff488ca3c5e0f125b
Author: William Hua <william hua canonical com>
Date:   Wed Jan 6 12:00:00 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..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]