diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtktexttagtable.sgml | 9 | ||||
-rw-r--r-- | gtk/gtktextbtree.c | 2 | ||||
-rw-r--r-- | gtk/gtktexttag.c | 4 | ||||
-rw-r--r-- | gtk/gtktexttagtable.c | 8 | ||||
-rw-r--r-- | gtk/gtktexttagtable.h | 2 |
12 files changed, 43 insertions, 17 deletions
@@ -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], diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -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], diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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], diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -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], diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -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], diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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], diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b733e62105..5fff1f5aa5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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], diff --git a/docs/reference/gtk/tmpl/gtktexttagtable.sgml b/docs/reference/gtk/tmpl/gtktexttagtable.sgml index 253def00d5..c13bd0fee5 100644 --- a/docs/reference/gtk/tmpl/gtktexttagtable.sgml +++ b/docs/reference/gtk/tmpl/gtktexttagtable.sgml @@ -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> diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 8fb9dd1285..b3e84c1857 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -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) diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 7e5b33babd..34132238ed 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -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; diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c index e2668b110f..b20ce3a631 100644 --- a/gtk/gtktexttagtable.c +++ b/gtk/gtktexttagtable.c @@ -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); diff --git a/gtk/gtktexttagtable.h b/gtk/gtktexttagtable.h index 5b4837c388..32abde0363 100644 --- a/gtk/gtktexttagtable.h +++ b/gtk/gtktexttagtable.h @@ -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 |