aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_draw.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-11-05 04:38:47 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-11-05 04:38:47 +0000
commit6a612f0b154254fa3410e8d975c8632e3da5d5e7 (patch)
tree70791ab6046369ff499f7ed1130e6d913215781f /gtk/proto_draw.c
parent87dd0d2636af84c3329bb4c66961992f54635425 (diff)
it is GtkText in gtk-1.x not GtkTextView
svn path=/trunk/; revision=19799
Diffstat (limited to 'gtk/proto_draw.c')
-rw-r--r--gtk/proto_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c
index 270ab05cbd..cd0c047de7 100644
--- a/gtk/proto_draw.c
+++ b/gtk/proto_draw.c
@@ -1033,7 +1033,7 @@ packet_hex_print_common(GtkWidget *bv, const guint8 *pd, int len, int bstart,
#if GTK_MAJOR_VERSION < 2
GdkFont *cur_font, *new_font;
GdkColor *fg, *bg;
- GtkTextView *bv_text = GTK_TEXT(bv);
+ GtkText *bv_text = GTK_TEXT(bv);
#else
GtkTextView *bv_text_view = GTK_TEXT_VIEW(bv);
GtkTextBuffer *buf = gtk_text_view_get_buffer(bv_text_view);