X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktextlayout.h;h=819aaf23692e196e8e1da55a8d872cd289f2ca09;hb=aaedf5a35219b034a244730564b8fdf2b7d32540;hp=78ec750c91695f1d6300a78c4805ea0f58e223f2;hpb=cefb95011000ad12d9f2cc71c6b9175e1d9746dd;p=~andy%2Fgtk diff --git a/gtk/gtktextlayout.h b/gtk/gtktextlayout.h index 78ec750c9..819aaf236 100644 --- a/gtk/gtktextlayout.h +++ b/gtk/gtktextlayout.h @@ -23,8 +23,7 @@ * 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, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * License along with this library. If not, see . * * Original Tk license: * @@ -109,7 +108,6 @@ typedef struct _GtkTextLineData GtkTextLineData; typedef struct _GtkTextLayout GtkTextLayout; typedef struct _GtkTextLayoutClass GtkTextLayoutClass; typedef struct _GtkTextLineDisplay GtkTextLineDisplay; -typedef struct _GtkTextCursorDisplay GtkTextCursorDisplay; typedef struct _GtkTextAttrAppearance GtkTextAttrAppearance; struct _GtkTextLayout @@ -225,19 +223,11 @@ struct _GtkTextAttrAppearance PangoAttribute attr; GtkTextAppearance appearance; }; -struct _GtkTextCursorDisplay -{ - gint x; - gint y; - gint height; - guint is_strong : 1; - guint is_weak : 1; -}; struct _GtkTextLineDisplay { PangoLayout *layout; - GSList *cursors; + GArray *cursors; /* indexes of cursors in the PangoLayout */ GtkTextDirection direction;