forked from AuroraMiddleware/gtk
Rename from gtk_text_tag_table_size(). (#59366)
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktexttag.c (gtk_text_tag_table_get_size): Rename from gtk_text_tag_table_size(). (#59366)
This commit is contained in:
parent
7cfc56dbd3
commit
9751c05b33
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 23 18:23:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_table_get_size):
|
||||
Rename from gtk_text_tag_table_size(). (#59366)
|
||||
|
||||
Thu Aug 23 20:01:41 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
|
||||
|
@ -76,15 +76,6 @@ types related to the text widget and how they work together.
|
||||
@data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_text_tag_table_size ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@table:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkTextTagTable::tag-added ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -2248,7 +2248,7 @@ _gtk_text_btree_char_is_invisible (const GtkTextIter *iter)
|
||||
tree = _gtk_text_iter_get_btree (iter);
|
||||
byte_index = gtk_text_iter_get_line_index (iter);
|
||||
|
||||
numTags = gtk_text_tag_table_size (tree->table);
|
||||
numTags = gtk_text_tag_table_get_size (tree->table);
|
||||
|
||||
/* almost always avoid malloc, so stay out of system calls */
|
||||
if (LOTSA_TAGS < numTags)
|
||||
|
@ -1597,7 +1597,7 @@ gtk_text_tag_get_priority (GtkTextTag *tag)
|
||||
* @priority: the new priority
|
||||
*
|
||||
* Sets the priority of a #GtkTextTag. Valid priorities are
|
||||
* start at 0 and go to one less than gtk_text_tag_table_size().
|
||||
* start at 0 and go to one less than gtk_text_tag_table_get_size().
|
||||
* Each tag in a table has a unique priority; setting the priority
|
||||
* of one tag shifts the priorities of all the other tags in the
|
||||
* table to maintain a unique priority for each tag. Higher priority
|
||||
@ -1617,7 +1617,7 @@ gtk_text_tag_set_priority (GtkTextTag *tag,
|
||||
g_return_if_fail (GTK_IS_TEXT_TAG (tag));
|
||||
g_return_if_fail (tag->table != NULL);
|
||||
g_return_if_fail (priority >= 0);
|
||||
g_return_if_fail (priority < gtk_text_tag_table_size (tag->table));
|
||||
g_return_if_fail (priority < gtk_text_tag_table_get_size (tag->table));
|
||||
|
||||
if (priority == tag->priority)
|
||||
return;
|
||||
|
@ -237,7 +237,7 @@ gtk_text_tag_table_add (GtkTextTagTable *table,
|
||||
/* We get the highest tag priority, as the most-recently-added
|
||||
tag. Note that we do NOT use gtk_text_tag_set_priority,
|
||||
as it assumes the tag is already in the table. */
|
||||
size = gtk_text_tag_table_size (table);
|
||||
size = gtk_text_tag_table_get_size (table);
|
||||
g_assert (size > 0);
|
||||
tag->priority = size - 1;
|
||||
|
||||
@ -283,7 +283,7 @@ gtk_text_tag_table_remove (GtkTextTagTable *table,
|
||||
/* Set ourselves to the highest priority; this means
|
||||
when we're removed, there won't be any gaps in the
|
||||
priorities of the tags in the table. */
|
||||
gtk_text_tag_set_priority (tag, gtk_text_tag_table_size (table) - 1);
|
||||
gtk_text_tag_set_priority (tag, gtk_text_tag_table_get_size (table) - 1);
|
||||
|
||||
tag->table = NULL;
|
||||
|
||||
@ -353,7 +353,7 @@ gtk_text_tag_table_foreach (GtkTextTagTable *table,
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_text_tag_table_size:
|
||||
* gtk_text_tag_table_get_size:
|
||||
* @table: a #GtkTextTagTable
|
||||
*
|
||||
* Returns the size of the table (number of tags)
|
||||
@ -361,7 +361,7 @@ gtk_text_tag_table_foreach (GtkTextTagTable *table,
|
||||
* Return value: number of tags in @table
|
||||
**/
|
||||
gint
|
||||
gtk_text_tag_table_size (GtkTextTagTable *table)
|
||||
gtk_text_tag_table_get_size (GtkTextTagTable *table)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_TEXT_TAG_TABLE (table), 0);
|
||||
|
||||
|
@ -48,7 +48,7 @@ GtkTextTag *gtk_text_tag_table_lookup (GtkTextTagTable *table,
|
||||
void gtk_text_tag_table_foreach (GtkTextTagTable *table,
|
||||
GtkTextTagTableForeach func,
|
||||
gpointer data);
|
||||
gint gtk_text_tag_table_size (GtkTextTagTable *table);
|
||||
gint gtk_text_tag_table_get_size (GtkTextTagTable *table);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user