[gnome-builder] grid: remove dead code



commit e012a2bd7d9ba6d3712f8e9db0db01b3769ee4a4
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 10 16:45:01 2018 -0700

    grid: remove dead code

 src/libide/layout/ide-layout-grid.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/src/libide/layout/ide-layout-grid.c b/src/libide/layout/ide-layout-grid.c
index da5378786..907b7df2c 100644
--- a/src/libide/layout/ide-layout-grid.c
+++ b/src/libide/layout/ide-layout-grid.c
@@ -443,17 +443,6 @@ ide_layout_grid_remove (GtkContainer *container,
     }
 }
 
-static inline gboolean
-rect_contains_point (cairo_rectangle_int_t *rect,
-                     gint                   x,
-                     gint                   y)
-{
-  return x >= rect->x &&
-         y >= rect->y &&
-         x <= (rect->x + rect->width) &&
-         y <= (rect->y + rect->height);
-}
-
 static gboolean
 ide_layout_grid_get_drop_area (IdeLayoutGrid        *self,
                                gint                  x,


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