summaryrefslogtreecommitdiffstats
path: root/src/qt_theme_draw.c
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:35 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-12 01:48:32 +0200
commitf61ae9f4cc8c24c23e6c5954f852188ec7d04914 (patch)
tree83c20d5d4a116d4f2308f2e853586062bf6133ae /src/qt_theme_draw.c
parent7c81f8c31ac26ab4822d293e299a9eb81678cc3e (diff)
downloadgtk-qt-engine-f61ae9f4cc8c24c23e6c5954f852188ec7d04914.tar.gz
gtk-qt-engine-f61ae9f4cc8c24c23e6c5954f852188ec7d04914.zip
Remove additional unneeded tq method conversions
(cherry picked from commit a2f8e999d0a8bd77f567b3335105e0f7e2b5f083)
Diffstat (limited to 'src/qt_theme_draw.c')
-rw-r--r--src/qt_theme_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 885a836..681f7fb 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -578,7 +578,7 @@ draw_arrow(GtkStyle* style,
ay = y;
aw = width;
ah = height;
- calculate_arrow_tqgeometry (arrow_type, &ax, &ay, &aw, &ah);
+ calculate_arrow_geometry (arrow_type, &ax, &ay, &aw, &ah);
half_width = width / 2;
half_height = height / 2;
@@ -844,7 +844,7 @@ draw_box(GtkStyle * style,
/* THIS IS WHAT WORKS NOW --
Tabs and tabbarbase will be drawn properly according to the QT style
But the tabs won't be aligned according to QT. GTK+ does not have
- an option for tqalignment of tabs. So if were to do this not only do we have to
+ an option for alignment of tabs. So if were to do this not only do we have to
calculate the x,y position of the tab ourselves, which is difficult in Qt unless
we are displaying the tab (can be done by subclassing TQTabBar/TQTabWidget)
but also have to position the tab bar label ourselves in gtk.