[zenity] text.c: Fix compilation warning
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [zenity] text.c: Fix compilation warning
- Date: Tue, 15 Feb 2011 21:34:55 +0000 (UTC)
commit 9744aaab18403e80e2d381326b4dc33132293ae2
Author: Javier Jardón <javier jardon codethink co uk>
Date: Tue Feb 15 21:34:31 2011 +0000
text.c: Fix compilation warning
src/text.c | 2 +-
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]