summaryrefslogtreecommitdiffstats
path: root/src/qt_theme_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt_theme_draw.c')
-rw-r--r--src/qt_theme_draw.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 681f7fb..d337014 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -41,7 +41,7 @@ static GtkStyleClass *parent_class = NULL;
static PangoLayout*
get_insensitive_layout (GdkDrawable *drawable,
- PangoLayout *tqlayout);
+ PangoLayout *layout);
static GtkShadowType
@@ -1351,7 +1351,7 @@ void draw_layout (GtkStyle *style,
const gchar *detail,
gint x,
gint y,
- PangoLayout *tqlayout)
+ PangoLayout *layout)
{
gboolean paint_layout = TRUE;
@@ -1395,7 +1395,7 @@ void draw_layout (GtkStyle *style,
const gchar *text;
gint text_length = 0;
gint text_bytelen = 0;
- text = pango_layout_get_text (tqlayout);
+ text = pango_layout_get_text (layout);
if (text != 0)
{
PangoAttribute *textcolorattr;
@@ -1406,19 +1406,19 @@ void draw_layout (GtkStyle *style,
textcolorattr->start_index = 0;
textcolorattr->end_index = text_bytelen;
- layoutattr = pango_layout_get_attributes(tqlayout);
+ layoutattr = pango_layout_get_attributes(layout);
if (layoutattr == NULL)
{
layoutattr = pango_attr_list_new();
pango_attr_list_insert(layoutattr, pango_attribute_copy(textcolorattr));
- pango_layout_set_attributes(tqlayout,layoutattr);
+ pango_layout_set_attributes(layout,layoutattr);
pango_attr_list_unref(layoutattr);
}
else
{
pango_attr_list_change(layoutattr, pango_attribute_copy(textcolorattr));
- pango_layout_set_attributes(tqlayout,layoutattr);
+ pango_layout_set_attributes(layout,layoutattr);
}
pango_attribute_destroy(textcolorattr);
}
@@ -1437,13 +1437,13 @@ void draw_layout (GtkStyle *style,
if (state_type == GTK_STATE_INSENSITIVE)
{
PangoLayout *ins;
- ins = get_insensitive_layout (window, tqlayout);
+ ins = get_insensitive_layout (window, layout);
gdk_draw_layout (window, gc, x, y, ins);
g_object_unref (ins);
}
else
{
- gdk_draw_layout (window, gc, x, y, tqlayout);
+ gdk_draw_layout (window, gc, x, y, layout);
}
if (area)
@@ -1472,7 +1472,7 @@ range_new (guint start,
static PangoLayout*
get_insensitive_layout (GdkDrawable *drawable,
- PangoLayout *tqlayout)
+ PangoLayout *layout)
{
GSList *embossed_ranges = NULL;
GSList *stippled_ranges = NULL;
@@ -1482,7 +1482,7 @@ get_insensitive_layout (GdkDrawable *drawable,
PangoAttrList *attrs;
GdkBitmap *stipple = NULL;
- iter = pango_layout_get_iter (tqlayout);
+ iter = pango_layout_get_iter (layout);
do
{
@@ -1529,7 +1529,7 @@ get_insensitive_layout (GdkDrawable *drawable,
pango_layout_iter_free (iter);
- new_layout = pango_layout_copy (tqlayout);
+ new_layout = pango_layout_copy (layout);
attrs = pango_layout_get_attributes (new_layout);