summaryrefslogtreecommitdiffstats
path: root/tdegtk/tdegtk-support.c
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-03 17:59:02 -0500
committerTimothy Pearson <[email protected]>2012-11-03 17:59:02 -0500
commit469e7d600f4d801ca53547b28a981688dcb0a60e (patch)
treeab27f513109ccf9ce79bac7594f9e57b65591adc /tdegtk/tdegtk-support.c
parente363fd4cf89ebbabe94471bdc921d72796c05ade (diff)
downloadgtk3-tqt-engine-469e7d600f4d801ca53547b28a981688dcb0a60e.tar.gz
gtk3-tqt-engine-469e7d600f4d801ca53547b28a981688dcb0a60e.zip
Fix scrollbars and buttons
Diffstat (limited to 'tdegtk/tdegtk-support.c')
-rw-r--r--tdegtk/tdegtk-support.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/tdegtk/tdegtk-support.c b/tdegtk/tdegtk-support.c
index 52c161d..431769e 100644
--- a/tdegtk/tdegtk-support.c
+++ b/tdegtk/tdegtk-support.c
@@ -76,14 +76,5 @@ tdegtk_trim_scale_allocation (GtkThemingEngine *engine,
gdouble *width,
gdouble *height)
{
- if (!gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_VERTICAL))
- {
- *y += (gint) (*height / 2.0) - 2.0;
- *height = 5;
- }
- else
- {
- *x += (gint) (*width / 2.0) - 2.0;
- *width = 5;
- }
+ // Do nothing!
}