summaryrefslogtreecommitdiffstats
path: root/tdegtk/tdegtk-engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdegtk/tdegtk-engine.c')
-rw-r--r--tdegtk/tdegtk-engine.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/tdegtk/tdegtk-engine.c b/tdegtk/tdegtk-engine.c
index dfca517..2032d99 100644
--- a/tdegtk/tdegtk-engine.c
+++ b/tdegtk/tdegtk-engine.c
@@ -56,9 +56,6 @@ tdegtk_engine_render_activity (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
path = gtk_theming_engine_get_path (engine);
- if (gtk_widget_path_is_type (path, GTK_TYPE_SCALE))
- tdegtk_trim_scale_allocation (engine, &x, &y, &width, &height);
-
if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_SPINNER))
GTK_THEMING_ENGINE_CLASS (tdegtk_engine_parent_class)->render_activity (engine, cr, x, y, width, height);
else
@@ -99,10 +96,6 @@ tdegtk_engine_render_background (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
path = gtk_theming_engine_get_path (engine);
- if (gtk_widget_path_is_type (path, GTK_TYPE_SCALE) &&
- gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_TROUGH))
- tdegtk_trim_scale_allocation (engine, &x, &y, &width, &height);
-
if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_BUTTON) &&
gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_SPINBUTTON))
style_functions->draw_spinbutton_background (engine, cr, x, y, width, height);
@@ -128,12 +121,6 @@ tdegtk_engine_render_check (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
- if (!gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_MENUITEM))
- {
- if (tdegtk_cairo_draw_from_texture (engine, cr, x, y, width, height))
- return;
- }
-
style_functions->draw_check (engine, cr, x, y, width, height);
}
@@ -206,10 +193,6 @@ tdegtk_engine_render_frame (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
path = gtk_theming_engine_get_path (engine);
- if (gtk_widget_path_is_type (path, GTK_TYPE_SCALE) &&
- gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_TROUGH))
- tdegtk_trim_scale_allocation (engine, &x, &y, &width, &height);
-
if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_SEPARATOR))
style_functions->draw_separator (engine, cr, x, y, width, height);
else if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_BUTTON) &&
@@ -297,12 +280,6 @@ tdegtk_engine_render_option (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
- if (!gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_MENUITEM))
- {
- if (tdegtk_cairo_draw_from_texture (engine, cr, x, y, width, height))
- return;
- }
-
style_functions->draw_radio (engine, cr, x, y, width, height);
}
@@ -321,12 +298,6 @@ tdegtk_engine_render_slider (GtkThemingEngine *engine,
tdegtk_lookup_functions (TDEGTK_ENGINE (engine), &style_functions);
- if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_SCALE))
- {
- if (tdegtk_cairo_draw_from_texture (engine, cr, x, y, width, height))
- return;
- }
-
style_functions->draw_slider (engine, cr, x, y, width, height, orientation);
}