[metacity] theme: make meta_parse_position_expression static



commit f14acefb2b38fb63323c5e22b5d7bbeb48a24542
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Jan 24 11:45:43 2016 +0200

    theme: make meta_parse_position_expression static

 src/ui/theme-private.h |    5 -----
 src/ui/theme.c         |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index 96c5b6f..c391929 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -751,11 +751,6 @@ void                   meta_color_spec_render                  (MetaColorSpec
                                                                 GtkStyleContext             *style_gtk,
                                                                 GdkRGBA                     *color);
 
-gboolean               meta_parse_position_expression          (MetaDrawSpec                *spec,
-                                                                const MetaPositionExprEnv   *env,
-                                                                int                         *x_return,
-                                                                int                         *y_return,
-                                                                GError                     **err);
 gboolean               meta_parse_size_expression              (MetaDrawSpec                *spec,
                                                                 const MetaPositionExprEnv   *env,
                                                                 int                         *val_return,
diff --git a/src/ui/theme.c b/src/ui/theme.c
index ac2d1be..a11b8a0 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -2832,7 +2832,7 @@ pos_eval (MetaDrawSpec              *spec,
  * most contexts.
  */
 
-gboolean
+static gboolean
 meta_parse_position_expression (MetaDrawSpec              *spec,
                                 const MetaPositionExprEnv *env,
                                 int                       *x_return,


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