From 244996ffec3b76c4cbef2e9684c0557ffed7e8fa Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 30 Sep 2000 00:17:22 +0000 Subject: fix indentation 2000-09-29 Havoc Pennington * 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 --- gtk/gtktextchild.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gtk/gtktextchild.h') diff --git a/gtk/gtktextchild.h b/gtk/gtktextchild.h index 3344a5a8d4..6ea7075f60 100644 --- a/gtk/gtktextchild.h +++ b/gtk/gtktextchild.h @@ -7,14 +7,13 @@ extern "C" { #endif /* __cplusplus */ -typedef struct _GtkTextPixmap GtkTextPixmap; +typedef struct _GtkTextPixbuf GtkTextPixbuf; -struct _GtkTextPixmap { - GdkPixmap *pixmap; - GdkBitmap *mask; +struct _GtkTextPixbuf { + GdkPixbuf *pixbuf; }; -GtkTextLineSegment *gtk_text_pixmap_segment_new(GdkPixmap *pixmap, GdkBitmap *mask); +GtkTextLineSegment *gtk_text_pixbuf_segment_new(GdkPixbuf *pixbuf); #ifdef __cplusplus -- cgit v1.2.1