[gnome-themes-standard] engine: remove useless overrides of render_check and render_option
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] engine: remove useless overrides of render_check and render_option
- Date: Fri, 2 Dec 2011 16:45:27 +0000 (UTC)
commit 37023c35bb5010deaf2e7fbf6e2d613cc4f917b4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Dec 2 11:44:00 2011 -0500
engine: remove useless overrides of render_check and render_option
GtkThemingEngine does the same thing now if background-image is not
none.
src/adwaita_engine.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/adwaita_engine.c b/src/adwaita_engine.c
index 282675e..eb6457d 100644
--- a/src/adwaita_engine.c
+++ b/src/adwaita_engine.c
@@ -200,30 +200,6 @@ adwaita_engine_render_focus (GtkThemingEngine *engine,
}
static void
-adwaita_engine_render_check (GtkThemingEngine *engine,
- cairo_t *cr,
- gdouble x,
- gdouble y,
- gdouble width,
- gdouble height)
-{
- GTK_THEMING_ENGINE_CLASS (adwaita_engine_parent_class)->render_background
- (engine, cr, x, y, width, height);
-}
-
-static void
-adwaita_engine_render_option (GtkThemingEngine *engine,
- cairo_t *cr,
- gdouble x,
- gdouble y,
- gdouble width,
- gdouble height)
-{
- GTK_THEMING_ENGINE_CLASS (adwaita_engine_parent_class)->render_background
- (engine, cr, x, y, width, height);
-}
-
-static void
draw_tab_arcs (cairo_t *cr,
gdouble curve_width,
gdouble x,
@@ -783,8 +759,6 @@ adwaita_engine_class_init (AdwaitaEngineClass *klass)
engine_class->render_arrow = adwaita_engine_render_arrow;
engine_class->render_focus = adwaita_engine_render_focus;
- engine_class->render_check = adwaita_engine_render_check;
- engine_class->render_option = adwaita_engine_render_option;
engine_class->render_extension = adwaita_engine_render_extension;
engine_class->render_frame = adwaita_engine_render_frame;
engine_class->render_background = adwaita_engine_render_background;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]