-#if (GTK_MINOR_VERSION > 2)
- /* put the horizontal scrollbar in the lower left hand corner */
- if (bHasHScrollbar)
- {
- GtkWidget *hscrollbar = gtk_hscrollbar_new(GTK_TEXT(m_text)->hadj);
- GTK_WIDGET_UNSET_FLAGS( hscrollbar, GTK_CAN_FOCUS );
- gtk_table_attach(GTK_TABLE(m_widget), hscrollbar, 0, 1, 1, 2,
- (GtkAttachOptions)(GTK_EXPAND | GTK_FILL | GTK_SHRINK),
- GTK_FILL,
- 0, 0);
- gtk_widget_show(hscrollbar);
-
- /* don't wrap lines, otherwise we wouldn't need the scrollbar */
- gtk_text_set_line_wrap( GTK_TEXT(m_text), FALSE );
- }
-#endif
-
- /* finally, put the vertical scrollbar in the upper right corner */