]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktextmarkprivate.h
texthandles: Keep state internally to avoid X overhead
[~andy/gtk] / gtk / gtktextmarkprivate.h
index c9043f431e46f65dfc741056b455ffb161bfad19..c9e1459f8836f29bf31af114270d695944c5caf5 100644 (file)
@@ -1,3 +1,27 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #ifndef __GTK_TEXT_MARK_PRIVATE_H__
 #define __GTK_TEXT_MARK_PRIVATE_H__
 
@@ -23,9 +47,8 @@ struct _GtkTextMarkBody {
   guint not_deleteable : 1;
 };
 
-GtkTextLineSegment *_gtk_mark_segment_new   (GtkTextBTree       *tree,
-                                             gboolean            left_gravity,
-                                             const gchar        *name);
+void _gtk_mark_segment_set_tree (GtkTextLineSegment *mark,
+                                GtkTextBTree       *tree);
 
 G_END_DECLS