[mutter] surface-actor-x11: Merge a simple function inline



commit 952e9c52bcdfd0e9bf14b1de05b66927a2432708
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Aug 21 18:30:17 2014 -0400

    surface-actor-x11: Merge a simple function inline
    
    This is a one-liner, only used in one place.

 src/compositor/meta-surface-actor-x11.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/src/compositor/meta-surface-actor-x11.c b/src/compositor/meta-surface-actor-x11.c
index ac72fb7..73ba69e 100644
--- a/src/compositor/meta-surface-actor-x11.c
+++ b/src/compositor/meta-surface-actor-x11.c
@@ -180,15 +180,6 @@ is_visible (MetaSurfaceActorX11 *self)
 }
 
 static void
-damage_area (MetaSurfaceActorX11 *self,
-             int x, int y, int width, int height)
-{
-  MetaSurfaceActorX11Private *priv = meta_surface_actor_x11_get_instance_private (self);
-
-  cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height);
-}
-
-static void
 meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor,
                                        int x, int y, int width, int height)
 {
@@ -218,7 +209,7 @@ meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor,
   if (priv->unredirected)
     return;
 
-  damage_area (self, x, y, width, height);
+  cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]