summaryrefslogtreecommitdiff
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
parentDo not use deprecated separator GtkDialog property (diff)
downloadzenity-9744aaab18403e80e2d381326b4dc33132293ae2.tar.gz
zenity-9744aaab18403e80e2d381326b4dc33132293ae2.tar.bz2
zenity-9744aaab18403e80e2d381326b4dc33132293ae2.zip
text.c: Fix compilation warning
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index cd31c5f9..b8bf42eb 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)
bgstack15