2012-09-19 [colin] 3.8.1cvs64
[claws.git] / src / gtk / gtkaspell.c
index f2ca7b0..fce20c4 100644 (file)
@@ -505,7 +505,7 @@ static gboolean key_press_cb                        (GtkWidget    *text_view,
                case GDK_KEY_Page_Down:
                case GDK_KEY_End:
                case GDK_KEY_Begin:
-                       pos = get_textview_buffer_offset(text_view);
+                       pos = get_textview_buffer_offset(GTK_TEXT_VIEW(text_view));
                        if (pos > 0)
                                check_at(gtkaspell, pos - 1);
                        else