GtkWidgetPath: Make API more consistent.

This commit is contained in:
Carlos Garnacho
2010-08-04 12:50:37 +02:00
parent ad08330fae
commit 09d8592b5b
3 changed files with 22 additions and 22 deletions

View File

@ -132,8 +132,8 @@ gtk_widget_path_prepend_type (GtkWidgetPath *path,
}
GType
gtk_widget_path_get_element_type (const GtkWidgetPath *path,
guint pos)
gtk_widget_path_iter_get_widget_type (const GtkWidgetPath *path,
guint pos)
{
GtkPathElement *elem;
@ -145,9 +145,9 @@ gtk_widget_path_get_element_type (const GtkWidgetPath *path,
}
void
gtk_widget_path_set_element_type (GtkWidgetPath *path,
guint pos,
GType type)
gtk_widget_path_iter_set_widget_type (GtkWidgetPath *path,
guint pos,
GType type)
{
GtkPathElement *elem;
@ -160,8 +160,8 @@ gtk_widget_path_set_element_type (GtkWidgetPath *path,
}
G_CONST_RETURN gchar *
gtk_widget_path_get_element_name (const GtkWidgetPath *path,
guint pos)
gtk_widget_path_iter_get_name (const GtkWidgetPath *path,
guint pos)
{
GtkPathElement *elem;
@ -173,9 +173,9 @@ gtk_widget_path_get_element_name (const GtkWidgetPath *path,
}
void
gtk_widget_path_set_element_name (GtkWidgetPath *path,
guint pos,
const gchar *name)
gtk_widget_path_iter_set_name (GtkWidgetPath *path,
guint pos,
const gchar *name)
{
GtkPathElement *elem;