Commit 244996ff authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington
Browse files

fix indentation

2000-09-29  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation

        * gtk/gtktextview.c: Implement drag thresholding; change functions
	that set border window size to have nicer name
	(gtk_text_view_mark_set_handler):  Fix this to have the
	right signature.

	* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes

	* gtk/testtext.c: Update with API changes, put line numbers on
	both sides.

	* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
	with this

	* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
	pixbuf; delete a big block of #if 0 Tk code

	* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
	insert_pixmap with insert_pixbuf
parent 0415b69e
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
2000-09-29 Havoc Pennington <hp@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
* gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler): Fix this to have the
right signature.
* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
* gtk/testtext.c: Update with API changes, put line numbers on
both sides.
* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this
* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf
2000-09-29 Martin Baulig <baulig@suse.de> 2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
......
...@@ -1043,9 +1043,8 @@ gtk_text_btree_insert (GtkTextIter *iter, ...@@ -1043,9 +1043,8 @@ gtk_text_btree_insert (GtkTextIter *iter,
} }
void void
gtk_text_btree_insert_pixmap (GtkTextIter *iter, gtk_text_btree_insert_pixbuf (GtkTextIter *iter,
GdkPixmap *pixmap, GdkPixbuf *pixbuf)
GdkBitmap *mask)
{ {
GtkTextLineSegment *seg; GtkTextLineSegment *seg;
GtkTextIter start; GtkTextIter start;
...@@ -1058,7 +1057,7 @@ gtk_text_btree_insert_pixmap (GtkTextIter *iter, ...@@ -1058,7 +1057,7 @@ gtk_text_btree_insert_pixmap (GtkTextIter *iter,
tree = gtk_text_iter_get_btree(iter); tree = gtk_text_iter_get_btree(iter);
start_byte_offset = gtk_text_iter_get_line_index(iter); start_byte_offset = gtk_text_iter_get_line_index(iter);
seg = gtk_text_pixmap_segment_new (pixmap, mask); seg = gtk_text_pixbuf_segment_new (pixbuf);
prevPtr = gtk_text_line_segment_split(iter); prevPtr = gtk_text_line_segment_split(iter);
if (prevPtr == NULL) if (prevPtr == NULL)
...@@ -2037,7 +2036,7 @@ copy_segment(GString *string, ...@@ -2037,7 +2036,7 @@ copy_segment(GString *string,
/* printf(" :%s\n", string->str); */ /* printf(" :%s\n", string->str); */
} }
else if (seg->type == &gtk_text_pixmap_type) else if (seg->type == &gtk_text_pixbuf_type)
{ {
gboolean copy = TRUE; gboolean copy = TRUE;
...@@ -3401,7 +3400,7 @@ gtk_text_line_byte_to_char (GtkTextLine *line, ...@@ -3401,7 +3400,7 @@ gtk_text_line_byte_to_char (GtkTextLine *line,
gint gint
gtk_text_line_char_to_byte (GtkTextLine *line, gtk_text_line_char_to_byte (GtkTextLine *line,
gint char_offset) gint char_offset)
{ {
g_warning("FIXME not implemented"); g_warning("FIXME not implemented");
} }
......
...@@ -31,9 +31,8 @@ void gtk_text_btree_delete (GtkTextIter *start, ...@@ -31,9 +31,8 @@ void gtk_text_btree_delete (GtkTextIter *start,
void gtk_text_btree_insert (GtkTextIter *iter, void gtk_text_btree_insert (GtkTextIter *iter,
const gchar *text, const gchar *text,
gint len); gint len);
void gtk_text_btree_insert_pixmap (GtkTextIter *iter, void gtk_text_btree_insert_pixbuf (GtkTextIter *iter,
GdkPixmap *pixmap, GdkPixbuf *pixbuf);
GdkBitmap *mask);
......
...@@ -787,22 +787,21 @@ gtk_text_buffer_get_slice (GtkTextBuffer *buffer, ...@@ -787,22 +787,21 @@ gtk_text_buffer_get_slice (GtkTextBuffer *buffer,
*/ */
void void
gtk_text_buffer_insert_pixmap (GtkTextBuffer *buffer, gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer,
GtkTextIter *iter, GtkTextIter *iter,
GdkPixmap *pixmap, GdkPixbuf *pixbuf)
GdkBitmap *mask)
{ {
g_return_if_fail(GTK_IS_TEXT_BUFFER(buffer)); g_return_if_fail (GTK_IS_TEXT_BUFFER(buffer));
g_return_if_fail(iter != NULL); g_return_if_fail (iter != NULL);
g_return_if_fail(pixmap != NULL); g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
gtk_text_btree_insert_pixmap(iter, pixmap, mask); gtk_text_btree_insert_pixbuf (iter, pixbuf);
/* FIXME pixmap-specific signal like insert_text */ /* FIXME pixbuf-specific signal like insert_text */
gtk_signal_emit(GTK_OBJECT(buffer), signals[CHANGED]); gtk_signal_emit (GTK_OBJECT(buffer), signals[CHANGED]);
gtk_text_buffer_set_modified(buffer, TRUE); gtk_text_buffer_set_modified (buffer, TRUE);
} }
/* /*
...@@ -977,6 +976,22 @@ gtk_text_buffer_get_mark (GtkTextBuffer *buffer, ...@@ -977,6 +976,22 @@ gtk_text_buffer_get_mark (GtkTextBuffer *buffer,
return mark; return mark;
} }
GtkTextMark*
gtk_text_buffer_get_insert (GtkTextBuffer *buffer)
{
g_return_val_if_fail(GTK_IS_TEXT_BUFFER(buffer), NULL);
return gtk_text_buffer_get_mark (buffer, "insert");
}
GtkTextMark*
gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer)
{
g_return_val_if_fail(GTK_IS_TEXT_BUFFER(buffer), NULL);
return gtk_text_buffer_get_mark (buffer, "selection_bound");
}
/** /**
* gtk_text_buffer_place_cursor: * gtk_text_buffer_place_cursor:
* @buffer: a #GtkTextBuffer * @buffer: a #GtkTextBuffer
......
...@@ -133,11 +133,10 @@ gchar *gtk_text_buffer_get_slice (GtkTextBuffer *buffer, ...@@ -133,11 +133,10 @@ gchar *gtk_text_buffer_get_slice (GtkTextBuffer *buffer,
const GtkTextIter *end, const GtkTextIter *end,
gboolean include_hidden_chars); gboolean include_hidden_chars);
/* Insert a pixmap */ /* Insert a pixbuf */
void gtk_text_buffer_insert_pixmap (GtkTextBuffer *buffer, void gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer,
GtkTextIter *iter, GtkTextIter *iter,
GdkPixmap *pixmap, GdkPixbuf *pixbuf);
GdkBitmap *mask);
/* Mark manipulation */ /* Mark manipulation */
GtkTextMark *gtk_text_buffer_create_mark (GtkTextBuffer *buffer, GtkTextMark *gtk_text_buffer_create_mark (GtkTextBuffer *buffer,
...@@ -149,9 +148,12 @@ void gtk_text_buffer_move_mark (GtkTextBuffer *buffer, ...@@ -149,9 +148,12 @@ void gtk_text_buffer_move_mark (GtkTextBuffer *buffer,
const GtkTextIter *where); const GtkTextIter *where);
void gtk_text_buffer_delete_mark (GtkTextBuffer *buffer, void gtk_text_buffer_delete_mark (GtkTextBuffer *buffer,
GtkTextMark *mark); GtkTextMark *mark);
GtkTextMark *gtk_text_buffer_get_mark (GtkTextBuffer *buffer, GtkTextMark* gtk_text_buffer_get_mark (GtkTextBuffer *buffer,
const gchar *name); const gchar *name);
GtkTextMark* gtk_text_buffer_get_insert (GtkTextBuffer *buffer);
GtkTextMark* gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer);
/* efficiently move insert and selection_bound to same location */ /* efficiently move insert and selection_bound to same location */
void gtk_text_buffer_place_cursor (GtkTextBuffer *buffer, void gtk_text_buffer_place_cursor (GtkTextBuffer *buffer,
......
...@@ -52,23 +52,20 @@ ...@@ -52,23 +52,20 @@
#include "gtktextbtree.h" #include "gtktextbtree.h"
static GtkTextLineSegment * static GtkTextLineSegment *
pixmap_segment_cleanup_func(GtkTextLineSegment *seg, pixbuf_segment_cleanup_func (GtkTextLineSegment *seg,
GtkTextLine *line) GtkTextLine *line)
{ {
/* nothing */ /* nothing */
return seg; return seg;
} }
static int static int
pixmap_segment_delete_func(GtkTextLineSegment *seg, pixbuf_segment_delete_func(GtkTextLineSegment *seg,
GtkTextLine *line, GtkTextLine *line,
gboolean tree_gone) gboolean tree_gone)
{ {
if (seg->body.pixmap.pixmap) if (seg->body.pixbuf.pixbuf)
gdk_pixmap_unref(seg->body.pixmap.pixmap); g_object_unref(G_OBJECT (seg->body.pixbuf.pixbuf));
if (seg->body.pixmap.mask)
gdk_bitmap_unref(seg->body.pixmap.mask);
g_free(seg); g_free(seg);
...@@ -76,28 +73,28 @@ pixmap_segment_delete_func(GtkTextLineSegment *seg, ...@@ -76,28 +73,28 @@ pixmap_segment_delete_func(GtkTextLineSegment *seg,
} }
static void static void
pixmap_segment_check_func(GtkTextLineSegment *seg, pixbuf_segment_check_func(GtkTextLineSegment *seg,
GtkTextLine *line) GtkTextLine *line)
{ {
if (seg->next == NULL) if (seg->next == NULL)
g_error("pixmap segment is the last segment in a line"); g_error("pixbuf segment is the last segment in a line");
if (seg->byte_count != 3) if (seg->byte_count != 3)
g_error("pixmap segment has byte count of %d", seg->byte_count); g_error("pixbuf segment has byte count of %d", seg->byte_count);
if (seg->char_count != 1) if (seg->char_count != 1)
g_error("pixmap segment has char count of %d", seg->char_count); g_error("pixbuf segment has char count of %d", seg->char_count);
} }
GtkTextLineSegmentClass gtk_text_pixmap_type = { GtkTextLineSegmentClass gtk_text_pixbuf_type = {
"pixmap", /* name */ "pixbuf", /* name */
0, /* leftGravity */ 0, /* leftGravity */
NULL, /* splitFunc */ NULL, /* splitFunc */
pixmap_segment_delete_func, /* deleteFunc */ pixbuf_segment_delete_func, /* deleteFunc */
pixmap_segment_cleanup_func, /* cleanupFunc */ pixbuf_segment_cleanup_func, /* cleanupFunc */
NULL, /* lineChangeFunc */ NULL, /* lineChangeFunc */
pixmap_segment_check_func /* checkFunc */ pixbuf_segment_check_func /* checkFunc */
}; };
...@@ -113,17 +110,17 @@ GtkTextLineSegmentClass gtk_text_view_child_type = { ...@@ -113,17 +110,17 @@ GtkTextLineSegmentClass gtk_text_view_child_type = {
}; };
#endif #endif
#define PIXMAP_SEG_SIZE ((unsigned) (G_STRUCT_OFFSET(GtkTextLineSegment, body) \ #define PIXBUF_SEG_SIZE ((unsigned) (G_STRUCT_OFFSET(GtkTextLineSegment, body) \
+ sizeof(GtkTextPixmap))) + sizeof(GtkTextPixbuf)))
GtkTextLineSegment * GtkTextLineSegment *
gtk_text_pixmap_segment_new(GdkPixmap *pixmap, GdkBitmap *mask) gtk_text_pixbuf_segment_new (GdkPixbuf *pixbuf)
{ {
GtkTextLineSegment *seg; GtkTextLineSegment *seg;
seg = g_malloc(PIXMAP_SEG_SIZE); seg = g_malloc(PIXBUF_SEG_SIZE);
seg->type = &gtk_text_pixmap_type; seg->type = &gtk_text_pixbuf_type;
seg->next = NULL; seg->next = NULL;
...@@ -131,1174 +128,9 @@ gtk_text_pixmap_segment_new(GdkPixmap *pixmap, GdkBitmap *mask) ...@@ -131,1174 +128,9 @@ gtk_text_pixmap_segment_new(GdkPixmap *pixmap, GdkBitmap *mask)
a 3-byte sequence in UTF-8 */ a 3-byte sequence in UTF-8 */
seg->char_count = 1; seg->char_count = 1;
seg->body.pixmap.pixmap = pixmap; seg->body.pixbuf.pixbuf = pixbuf;
seg->body.pixmap.mask = mask;
if (pixmap)
gdk_pixmap_ref(pixmap);
if (mask) g_object_ref (G_OBJECT (pixbuf));
gdk_bitmap_ref(mask);
return seg; return seg;
} }
#if 0
/*
* The following structure is the official type record for the
* embedded window geometry manager:
*/
static void EmbWinRequestFunc _ANSI_ARGS_((gpointer clientData,
Tk_Window tkwin));
static void EmbWinLostSlaveFunc _ANSI_ARGS_((gpointer clientData,
Tk_Window tkwin));
static Tk_GeomMgr textGeomType = {
"text", /* name */
EmbWinRequestFunc, /* requestFunc */
EmbWinLostSlaveFunc, /* lostSlaveFunc */
};
/*
* Definitions for alignment values:
*/
#define ALIGN_BOTTOM 0
#define ALIGN_CENTER 1
#define ALIGN_TOP 2
#define ALIGN_BASELINE 3
/*
* Macro that determines the size of an embedded window segment:
*/
#define EW_SEG_SIZE ((unsigned) (G_STRUCT_OFFSET(GtkTextLineSegment, body) \
+ sizeof(GtkTextEmbWindow)))
/*
* Prototypes for procedures defined in this file:
*/
static int AlignParseFunc _ANSI_ARGS_((gpointer clientData,
Tcl_Interp *interp, Tk_Window tkwin, char *value,
char *widgRec, int offset));
static char * AlignPrintFunc _ANSI_ARGS_((gpointer clientData,
Tk_Window tkwin, char *widgRec, int offset,
Tcl_FreeFunc **freeFuncPtr));
static GtkTextLineSegment * EmbWinCleanupFunc _ANSI_ARGS_((GtkTextLineSegment *segPtr,
GtkTextLine *line));
static void EmbWinCheckFunc _ANSI_ARGS_((GtkTextLineSegment *segPtr,
GtkTextLine *line));
static void EmbWinBboxFunc _ANSI_ARGS_((GtkTextDisplayChunk *chunkPtr,
int index, int y, int lineHeight, int baseline,
int *xPtr, int *yPtr, int *widthPtr,
int *heightPtr));
static int EmbWinConfigure _ANSI_ARGS_((GtkTextView *tkxt,
GtkTextLineSegment *ewPtr, int argc, char **argv));
static void EmbWinDelayedUnmap _ANSI_ARGS_((
gpointer clientData));
static int EmbWinDeleteFunc _ANSI_ARGS_((GtkTextLineSegment *segPtr,
GtkTextLine *line, int treeGone));
static void EmbWinDisplayFunc _ANSI_ARGS_((
GtkTextDisplayChunk *chunkPtr, int x, int y,
int lineHeight, int baseline, Display *display,
Drawable dst, int screenY));
static int EmbWinLayoutFunc _ANSI_ARGS_((GtkTextView *tkxt,
GtkTextIndex *indexPtr, GtkTextLineSegment *segPtr,
int offset, int maxX, int maxChars,
int noCharsYet, GtkWrapMode wrapMode,
GtkTextDisplayChunk *chunkPtr));
static void EmbWinStructureFunc _ANSI_ARGS_((gpointer clientData,
XEvent *eventPtr));
static void EmbWinUndisplayFunc _ANSI_ARGS_((GtkTextView *tkxt,
GtkTextDisplayChunk *chunkPtr));
/*
* The following structure declares the "embedded window" segment type.
*/
static GtkTextLineSegmentClass tkTextEmbWindowType = {
"window", /* name */
0, /* leftGravity */
(GtkTextLineSegmentSplitFunc *) NULL, /* splitFunc */
EmbWinDeleteFunc, /* deleteFunc */
EmbWinCleanupFunc, /* cleanupFunc */
(GtkTextLineSegmentLineChangeFunc *) NULL, /* lineChangeFunc */
EmbWinLayoutFunc, /* layoutFunc */
EmbWinCheckFunc /* checkFunc */
};
/*
* Information used for parsing window configuration options:
*/
static Tk_CustomOption alignOption = {AlignParseFunc, AlignPrintFunc,
(gpointer) NULL};