summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-02-15 21:34:31 +0000
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-02-15 21:34:31 +0000
commit9744aaab18403e80e2d381326b4dc33132293ae2 (patch)
treec270c0155ff2cf0ea4e280c2e448b0b5c83ffc97 /src/text.c
parentf675707d1c8ed3daafdec61c529b5e4ecffa7c33 (diff)
downloadzenity-9744aaab18403e80e2d381326b4dc33132293ae2.tar.gz
text.c: Fix compilation warning
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index cd31c5f..b8bf42e 100644
--- a/src/text.c
+++ b/src/text.c
@@ -139,7 +139,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
if (text_data->font) {
PangoFontDescription *fontDesc = pango_font_description_from_string (text_data->font);
- gtk_widget_modify_font(GTK_TEXT_VIEW(text_view), fontDesc);
+ gtk_widget_modify_font (GTK_WIDGET(text_view), fontDesc);
}
if (text_data->uri)