[mutter] theme: Remove unused entry points
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] theme: Remove unused entry points
- Date: Tue, 24 Apr 2012 20:56:36 +0000 (UTC)
commit 6900128b2f51e670146107c50abf3ee227123acf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 11 15:40:42 2012 -0400
theme: Remove unused entry points
meta_draw_op_draw, meta_draw_op_list_draw, and meta_frame_style_draw were
all unused
https://bugzilla.gnome.org/show_bug.cgi?id=671104
src/ui/theme-private.h | 24 ------------------------
src/ui/theme.c | 42 ------------------------------------------
2 files changed, 0 insertions(+), 66 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index 8ee14f9..073f56d 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -966,12 +966,6 @@ void meta_color_spec_render (MetaColorSpec *spec,
MetaDrawOp* meta_draw_op_new (MetaDrawType type);
void meta_draw_op_free (MetaDrawOp *op);
-void meta_draw_op_draw (const MetaDrawOp *op,
- GtkWidget *widget,
- cairo_t *cr,
- const MetaDrawInfo *info,
- /* logical region being drawn */
- MetaRectangle logical_region);
void meta_draw_op_draw_with_style (const MetaDrawOp *op,
GtkStyleContext *style_gtk,
@@ -984,11 +978,6 @@ void meta_draw_op_draw_with_style (const 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 (const MetaDrawOpList *op_list,
- GtkWidget *widget,
- cairo_t *cr,
- const MetaDrawInfo *info,
- MetaRectangle rect);
void meta_draw_op_list_draw_with_style (const MetaDrawOpList *op_list,
GtkStyleContext *style_gtk,
GtkWidget *widget,
@@ -1020,19 +1009,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 (MetaFrameStyle *style,
- 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);
-
-
void meta_frame_style_draw_with_style (MetaFrameStyle *style,
GtkStyleContext *style_gtk,
GtkWidget *widget,
diff --git a/src/ui/theme.c b/src/ui/theme.c
index d592ecd..e44246a 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4107,17 +4107,6 @@ meta_draw_op_draw_with_style (const MetaDrawOp *op,
}
-void
-meta_draw_op_draw (const MetaDrawOp *op,
- GtkWidget *widget,
- cairo_t *cr,
- const MetaDrawInfo *info,
- MetaRectangle logical_region)
-{
- meta_draw_op_draw_with_style (op, gtk_widget_get_style_context (widget),
- widget, cr, info, logical_region);
-}
-
/**
* meta_draw_op_list_new: (skip)
*
@@ -4229,18 +4218,6 @@ meta_draw_op_list_draw_with_style (const MetaDrawOpList *op_list,
}
void
-meta_draw_op_list_draw (const MetaDrawOpList *op_list,
- GtkWidget *widget,
- cairo_t *cr,
- const MetaDrawInfo *info,
- MetaRectangle rect)
-
-{
- meta_draw_op_list_draw_with_style (op_list, gtk_widget_get_style_context (widget), widget,
- cr, info, rect);
-}
-
-void
meta_draw_op_list_append (MetaDrawOpList *op_list,
MetaDrawOp *op)
{
@@ -4862,25 +4839,6 @@ meta_frame_style_draw_with_style (MetaFrameStyle *style,
}
}
-void
-meta_frame_style_draw (MetaFrameStyle *style,
- 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)
-{
- meta_frame_style_draw_with_style (style, gtk_widget_get_style_context (widget), widget,
- cr, fgeom, client_width, client_height,
- title_layout, text_height,
- button_states, mini_icon, icon);
-}
-
MetaFrameStyleSet*
meta_frame_style_set_new (MetaFrameStyleSet *parent)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]