Fixed xcomposite_share compile errors.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 11 Apr 2012 15:31:40 +0000 (17:31 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 11 Apr 2012 15:37:51 +0000 (17:37 +0200)
Change-Id: I1fac804abcb09bd760246c95a961a2d5b91de03a
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/hardware_integration/xcomposite_share/xcompositebuffer.cpp
src/compositor/hardware_integration/xcomposite_share/xcompositebuffer.h
src/compositor/hardware_integration/xcomposite_share/xcompositehandler.h

index 8d14cb7..29f6ceb 100644 (file)
@@ -49,25 +49,9 @@ XCompositeBuffer::XCompositeBuffer(Wayland::Compositor *compositor, Window windo
 }
 
 struct wl_buffer_interface XCompositeBuffer::buffer_interface = {
-    XCompositeBuffer::buffer_interface_damage,
     XCompositeBuffer::buffer_interface_destroy
 };
 
-void XCompositeBuffer::buffer_interface_damage(struct wl_client *client,
-               struct wl_resource *buffer,
-               int x,
-               int y,
-               int width,
-               int height)
-{
-    Q_UNUSED(client);
-    Q_UNUSED(buffer);
-    Q_UNUSED(x);
-    Q_UNUSED(y);
-    Q_UNUSED(width);
-    Q_UNUSED(height);
-}
-
 void XCompositeBuffer::buffer_interface_destroy(wl_client *client, wl_resource *buffer)
 {
     Q_UNUSED(client);
index 00a7b68..406860e 100644 (file)
@@ -71,12 +71,6 @@ private:
 
     static void buffer_interface_destroy(struct wl_client *client,
                         struct wl_resource *buffer);
-    static void buffer_interface_damage(struct wl_client *client,
-                   struct wl_resource *buffer,
-                   int x,
-                   int y,
-                   int width,
-                   int height);
 };
 
 #endif // XCOMPOSITORBUFFER_H