[mutter/wip/cairo: 13/14] theme: Make certain implementation functions internal to theme.c
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/cairo: 13/14] theme: Make certain implementation functions internal to theme.c
- Date: Sun, 11 Mar 2012 23:07:35 +0000 (UTC)
commit 1f3b550eb5e18758bc8a7a590587b5423d474b53
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 11 17:49:08 2012 -0400
theme: Make certain implementation functions internal to theme.c
src/ui/theme-private.h | 19 -------------------
src/ui/theme.c | 10 ++++++++--
2 files changed, 8 insertions(+), 21 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index f5b95ce..50f150a 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -972,12 +972,6 @@ void meta_draw_op_free (MetaDrawOp *op);
MetaDrawOpList* meta_draw_op_list_new (int n_preallocs);
void meta_draw_op_list_ref (MetaDrawOpList *op_list);
void meta_draw_op_list_unref (MetaDrawOpList *op_list);
-void meta_draw_op_list_draw_with_style (const MetaDrawOpList *op_list,
- GtkStyleContext *style_gtk,
- GtkWidget *widget,
- cairo_t *cr,
- const MetaDrawInfo *info,
- MetaRectangle rect);
void meta_draw_op_list_append (MetaDrawOpList *op_list,
MetaDrawOp *op);
gboolean meta_draw_op_list_validate (MetaDrawOpList *op_list,
@@ -1007,19 +1001,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,
- GtkWidget *widget,
- 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 80a51c5..fa1702e 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -3149,6 +3149,12 @@ fill_env (MetaPositionExprEnv *env,
env->theme = meta_current_theme;
}
+static void
+meta_draw_op_list_draw_with_style (const MetaDrawOpList *op_list,
+ GtkStyleContext *style_gtk,
+ cairo_t *cr,
+ const MetaDrawInfo *info,
+ MetaRectangle rect);
/* This code was originally rendering anti-aliased using X primitives, and
* now has been switched to draw anti-aliased using cairo. In general, the
@@ -3651,7 +3657,7 @@ meta_draw_op_list_unref (MetaDrawOpList *op_list)
}
}
-void
+static void
meta_draw_op_list_draw_with_style (const MetaDrawOpList *op_list,
GtkStyleContext *style_gtk,
GtkWidget *widget,
@@ -4076,7 +4082,7 @@ button_rect (MetaButtonType type,
}
}
-void
+static void
meta_frame_style_draw_with_style (MetaFrameStyle *style,
GtkStyleContext *style_gtk,
GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]