[mutter] theme: Make meta_frame_style_draw_with_style static



commit b98e4e37addac48e09db817fda2ea0601a8bc54d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Apr 27 01:16:57 2012 -0400

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

 src/ui/theme-private.h |   12 ------------
 src/ui/theme.c         |    2 +-
 2 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index 22f79f8..278fa41 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -997,18 +997,6 @@ MetaFrameStyle* meta_frame_style_new   (MetaFrameStyle *parent);
 void            meta_frame_style_ref   (MetaFrameStyle *style);
 void            meta_frame_style_unref (MetaFrameStyle *style);
 
-void meta_frame_style_draw_with_style (MetaFrameStyle          *style,
-                                       GtkStyleContext         *style_gtk,
-                                       cairo_t                 *cr,
-                                       const MetaFrameGeometry *fgeom,
-                                       int                      client_width,
-                                       int                      client_height,
-                                       PangoLayout             *title_layout,
-                                       int                      text_height,
-                                       MetaButtonState          button_states[META_BUTTON_TYPE_LAST],
-                                       GdkPixbuf               *mini_icon,
-                                       GdkPixbuf               *icon);
-
 
 gboolean       meta_frame_style_validate (MetaFrameStyle    *style,
                                           guint              current_theme_version,
diff --git a/src/ui/theme.c b/src/ui/theme.c
index f42b1c4..a394517 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4593,7 +4593,7 @@ button_rect (MetaButtonType           type,
     }
 }
 
-void
+static void
 meta_frame_style_draw_with_style (MetaFrameStyle          *style,
                                   GtkStyleContext         *style_gtk,
                                   cairo_t                 *cr,



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