text_window_* weren't static and should have been. Start work on child
2000-10-02 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c: text_window_* weren't static and should have been. Start work on child widgets; not yet complete, syncing to office computer. * gtk/gtktextchild.h: change this to contain a public interface, starting work on child interfaces. * gtk/gtktextchildprivate.h: move private interfaces here * gtk/Makefile.am: update to reflect gtktextchildprivate.h * gtk/gtktextview.h, gtk/gtktextview.c, gtk/gtktextbuffer.h, gtk/gtktextbuffer.c, gtk/gtktextiter.h, gtk/gtk/textiter.c, gtk/gtktextmark.c: copyright notices * gtk/gtktextmarkprivate.h: reformat, and put _ in front of internal functions * gtk/gtktextchild.c (_pixbuf_segment_new): put _ in front of internal function * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): Reformatting
This commit is contained in:

committed by
Havoc Pennington

parent
632fda6f0b
commit
8ebf77d13b
@ -5,6 +5,7 @@
|
||||
#include <gtk/gtktextiter.h>
|
||||
#include <gtk/gtktextmarkprivate.h>
|
||||
#include <gtk/gtktextchild.h>
|
||||
#include <gtk/gtktextchildprivate.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -122,21 +123,22 @@ struct _GtkTextLineSegment {
|
||||
GtkTextToggleBody toggle; /* Information about tag toggle. */
|
||||
GtkTextMarkBody mark; /* Information about mark. */
|
||||
GtkTextPixbuf pixbuf; /* Child pixbuf */
|
||||
#if 0
|
||||
GtkTextChild child; /* child widget */
|
||||
#endif
|
||||
GtkTextChildBody child; /* Child widget */
|
||||
} body;
|
||||
};
|
||||
|
||||
|
||||
GtkTextLineSegment *gtk_text_line_segment_split(const GtkTextIter *iter);
|
||||
GtkTextLineSegment *gtk_text_line_segment_split (const GtkTextIter *iter);
|
||||
|
||||
GtkTextLineSegment *char_segment_new(const gchar *text, guint len);
|
||||
GtkTextLineSegment *char_segment_new (const gchar *text,
|
||||
guint len);
|
||||
GtkTextLineSegment *char_segment_new_from_two_strings (const gchar *text1,
|
||||
guint len1,
|
||||
const gchar *text2,
|
||||
guint len2);
|
||||
GtkTextLineSegment *toggle_segment_new (GtkTextTagInfo *info,
|
||||
gboolean on);
|
||||
|
||||
GtkTextLineSegment *char_segment_new_from_two_strings(const gchar *text1, guint len1,
|
||||
const gchar *text2, guint len2);
|
||||
|
||||
GtkTextLineSegment *toggle_segment_new(GtkTextTagInfo *info, gboolean on);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user