* 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., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
*/
struct _GtkTextLineSegment {
- GtkTextLineSegmentClass *type; /* Pointer to record describing
- * segment's type. */
- GtkTextLineSegment *next; /* Next in list of segments for this
- * line, or NULL for end of list. */
+ const GtkTextLineSegmentClass *type; /* Pointer to record describing
+ * segment's type. */
+ GtkTextLineSegment *next; /* Next in list of segments for this
+ * line, or NULL for end of list. */
int char_count; /* # of chars of index space occupied */
guint len);
GtkTextLineSegment *_gtk_char_segment_new_from_two_strings (const gchar *text1,
guint len1,
+ guint chars1,
const gchar *text2,
- guint len2);
+ guint len2,
+ guint chars2);
GtkTextLineSegment *_gtk_toggle_segment_new (GtkTextTagInfo *info,
gboolean on);