[mutter] theme: Make meta_frame_layout_calc_geometry static



commit 8b64a951c9c61b2f8b319121c6feaa6d8f3dac26
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 26 19:26:09 2012 -0400

    theme: Make meta_frame_layout_calc_geometry static
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676052

 src/ui/theme-private.h |   10 ----------
 src/ui/theme.c         |    2 +-
 2 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index 0f28b31..22f79f8 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -925,16 +925,6 @@ void             meta_frame_layout_get_borders   (const MetaFrameLayout *layout,
                                                   MetaFrameFlags         flags,
                                                   MetaFrameType          type,
                                                   MetaFrameBorders      *borders);
-void             meta_frame_layout_calc_geometry (const MetaFrameLayout  *layout,
-                                                  int                     text_height,
-                                                  MetaFrameFlags          flags,
-                                                  int                     client_width,
-                                                  int                     client_height,
-                                                  const MetaButtonLayout *button_layout,
-                                                  MetaFrameType           type,
-                                                  MetaFrameGeometry      *fgeom,
-                                                  MetaTheme              *theme);
-
 gboolean         meta_frame_layout_validate      (const MetaFrameLayout *layout,
                                                   GError               **error);
 
diff --git a/src/ui/theme.c b/src/ui/theme.c
index ed474d9..f42b1c4 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -593,7 +593,7 @@ strip_button (MetaButtonSpace *func_rects[MAX_BUTTONS_PER_CORNER],
   return FALSE; /* did not strip anything */
 }
 
-void
+static void
 meta_frame_layout_calc_geometry (const MetaFrameLayout  *layout,
                                  int                     text_height,
                                  MetaFrameFlags          flags,



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