aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/funnel_stat.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-18 01:07:23 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-18 01:07:23 +0000
commiteff92264e533b745ab637a0cbc9b59cc29695703 (patch)
treede28a18b13f3e309f131483c7b1e33e5847847eb /gtk/funnel_stat.c
parent32e0b3699c764d820c6d788b8e66e5c68681ccc9 (diff)
squelch some compiler warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17343 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/funnel_stat.c')
-rw-r--r--gtk/funnel_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/funnel_stat.c b/gtk/funnel_stat.c
index e14c15d058..0e775f4ddf 100644
--- a/gtk/funnel_stat.c
+++ b/gtk/funnel_stat.c
@@ -197,7 +197,7 @@ static void text_window_clear(funnel_text_window_t* tw)
if (! tw->win) return;
- txt = tw->txt;
+ txt = GTK_TEXT(tw->txt);
gtk_text_set_point(txt, 0);
/* Keep GTK+ 1.2.3 through 1.2.6 from dumping core - see
@@ -255,14 +255,14 @@ static void text_window_set_text(funnel_text_window_t* tw, const gchar* text)
if (! tw->win) return;
#if GTK_MAJOR_VERSION < 2
- gtk_text_freeze(tw->txt);
+ gtk_text_freeze(GTK_TEXT(tw->txt));
#endif
text_window_clear(tw);
text_window_append(tw, text);
#if GTK_MAJOR_VERSION < 2
- gtk_text_thaw(tw->txt);
+ gtk_text_thaw(GTK_TEXT(tw->txt));
#endif
}