[gtk+/gi-annotations-2: 4/8] [GI] Make argument names in vfunc decls consistent with invoker docs
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gi-annotations-2: 4/8] [GI] Make argument names in vfunc decls consistent with invoker docs
- Date: Tue, 18 Jan 2011 05:49:15 +0000 (UTC)
commit 79ddd8d6caea1061f0fbfaf55e8ece75fe971025
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Tue Jan 18 06:29:57 2011 +0100
[GI] Make argument names in vfunc decls consistent with invoker docs
gtk/gtkcontainer.h | 2 +-
gtk/gtkeditable.h | 8 ++++----
gtk/gtktextbuffer.h | 16 ++++++++--------
3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index 2498513..b21e2d8 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -72,7 +72,7 @@ struct _GtkContainerClass
GtkCallback callback,
gpointer callback_data);
void (*set_focus_child) (GtkContainer *container,
- GtkWidget *widget);
+ GtkWidget *child);
GType (*child_type) (GtkContainer *container);
gchar* (*composite_name) (GtkContainer *container,
GtkWidget *child);
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h
index 5ccebce..90849ff 100644
--- a/gtk/gtkeditable.h
+++ b/gtk/gtkeditable.h
@@ -51,8 +51,8 @@ struct _GtkEditableInterface
/* signals */
void (* insert_text) (GtkEditable *editable,
- const gchar *text,
- gint length,
+ const gchar *new_text,
+ gint new_text_length,
gint *position);
void (* delete_text) (GtkEditable *editable,
gint start_pos,
@@ -61,8 +61,8 @@ struct _GtkEditableInterface
/* vtable */
void (* do_insert_text) (GtkEditable *editable,
- const gchar *text,
- gint length,
+ const gchar *new_text,
+ gint new_text_length,
gint *position);
void (* do_delete_text) (GtkEditable *editable,
gint start_pos,
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index 5e7d944..565d597 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -83,15 +83,15 @@ struct _GtkTextBufferClass
void (* insert_text) (GtkTextBuffer *buffer,
GtkTextIter *pos,
- const gchar *text,
- gint length);
+ const gchar *new_text,
+ gint new_text_length);
void (* insert_pixbuf) (GtkTextBuffer *buffer,
- GtkTextIter *pos,
+ GtkTextIter *iter,
GdkPixbuf *pixbuf);
void (* insert_child_anchor) (GtkTextBuffer *buffer,
- GtkTextIter *pos,
+ GtkTextIter *iter,
GtkTextChildAnchor *anchor);
void (* delete_range) (GtkTextBuffer *buffer,
@@ -117,13 +117,13 @@ struct _GtkTextBufferClass
void (* apply_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
- const GtkTextIter *start_char,
- const GtkTextIter *end_char);
+ const GtkTextIter *start,
+ const GtkTextIter *end);
void (* remove_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
- const GtkTextIter *start_char,
- const GtkTextIter *end_char);
+ const GtkTextIter *start,
+ const GtkTextIter *end);
/* Called at the start and end of an atomic user action */
void (* begin_user_action) (GtkTextBuffer *buffer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]