X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktextbuffer.c;h=a877e345995348e4ce5b57406de23301a25f93ef;hb=7c2a752b3724ad9ac88b7abfecc63e4e0eb7eb54;hp=b66eb77a2ba0da2ed5a048c2d6dbcdbad9687935;hpb=d4b992506ad83a6482f836cb77a24ac24dbecc8e;p=~andy%2Fgtk diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index b66eb77a2..a877e3459 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -13,9 +13,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., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -318,6 +316,8 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_INT); + g_signal_set_va_marshaller (signals[INSERT_TEXT], G_TYPE_FROM_CLASS (klass), + _gtk_marshal_VOID__BOXED_STRING_INTv); /** * GtkTextBuffer::insert-pixbuf: @@ -1489,10 +1489,10 @@ gtk_text_buffer_insert_range_interactive (GtkTextBuffer *buffer, * @text: UTF-8 text * @len: length of @text, or -1 * @first_tag: first tag to apply to @text - * @Varargs: NULL-terminated list of tags to apply + * @...: %NULL-terminated list of tags to apply * * Inserts @text into @buffer at @iter, applying the list of tags to - * the newly-inserted text. The last tag specified must be NULL to + * the newly-inserted text. The last tag specified must be %NULL to * terminate the list. Equivalent to calling gtk_text_buffer_insert(), * then gtk_text_buffer_apply_tag() on the inserted text; * gtk_text_buffer_insert_with_tags() is just a convenience function. @@ -1543,7 +1543,7 @@ gtk_text_buffer_insert_with_tags (GtkTextBuffer *buffer, * @text: UTF-8 text * @len: length of @text, or -1 * @first_tag_name: name of a tag to apply to @text - * @Varargs: more tag names + * @...: more tag names * * Same as gtk_text_buffer_insert_with_tags(), but allows you * to pass in tag names instead of tag objects. @@ -2466,7 +2466,7 @@ gtk_text_buffer_select_range (GtkTextBuffer *buffer, * @buffer: a #GtkTextBuffer * @tag_name: (allow-none): name of the new tag, or %NULL * @first_property_name: (allow-none): name of first property to set, or %NULL - * @Varargs: %NULL-terminated list of property names and values + * @...: %NULL-terminated list of property names and values * * Creates a tag and adds it to the tag table for @buffer. * Equivalent to calling gtk_text_tag_new() and then adding the