diff options
author | Timothy Pearson <[email protected]> | 2012-11-04 19:02:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-11-04 19:02:21 -0600 |
commit | d3b9433c0a03c258e535556dcb7512391224ce8d (patch) | |
tree | 238b1f6ac01fb28fb683e131d09ae1b7cb2119a0 /tdegtk/tdegtk-engine.c | |
parent | 469e7d600f4d801ca53547b28a981688dcb0a60e (diff) | |
download | gtk3-tqt-engine-d3b9433c0a03c258e535556dcb7512391224ce8d.tar.gz gtk3-tqt-engine-d3b9433c0a03c258e535556dcb7512391224ce8d.zip |
Cleanup
Diffstat (limited to 'tdegtk/tdegtk-engine.c')
-rw-r--r-- | tdegtk/tdegtk-engine.c | 29 |
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); } |