diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-11-19 18:59:49 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:18 +0100 |
commit | 6d1cf7682295a80e41731d6b1fe8c0cc8db02891 (patch) | |
tree | 20d9d984d88ee5e773d3b9893c1ae1a0606b0975 /gtk/gtkwidgetpath.h | |
parent | 5f889972978ee625772d9a30194834e0f8b816c9 (diff) | |
download | gtk+-6d1cf7682295a80e41731d6b1fe8c0cc8db02891.tar.gz |
GtkWidgetPath: Make iter API deal with gints.
now gtk_widget_path_iter_* takes gints instead of guints, and also accept
numbers == -1 or > path_length for the path head.
Diffstat (limited to 'gtk/gtkwidgetpath.h')
-rw-r--r-- | gtk/gtkwidgetpath.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h index 18ee05f290..f6a7d72b89 100644 --- a/gtk/gtkwidgetpath.h +++ b/gtk/gtkwidgetpath.h @@ -33,67 +33,67 @@ GtkWidgetPath * gtk_widget_path_new (void); GtkWidgetPath * gtk_widget_path_copy (const GtkWidgetPath *path); void gtk_widget_path_free (GtkWidgetPath *path); -guint gtk_widget_path_length (const GtkWidgetPath *path); +gint gtk_widget_path_length (const GtkWidgetPath *path); -guint gtk_widget_path_append_type (GtkWidgetPath *path, +gint gtk_widget_path_append_type (GtkWidgetPath *path, GType type); void gtk_widget_path_prepend_type (GtkWidgetPath *path, GType type); GType gtk_widget_path_iter_get_widget_type (const GtkWidgetPath *path, - guint pos); + gint pos); void gtk_widget_path_iter_set_widget_type (GtkWidgetPath *path, - guint pos, + gint pos, GType type); G_CONST_RETURN gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path, - guint pos); + gint pos); void gtk_widget_path_iter_set_name (GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); gboolean gtk_widget_path_iter_has_name (const GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); gboolean gtk_widget_path_iter_has_qname (const GtkWidgetPath *path, - guint pos, + gint pos, GQuark qname); void gtk_widget_path_iter_add_class (GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); void gtk_widget_path_iter_remove_class (GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); void gtk_widget_path_iter_clear_classes (GtkWidgetPath *path, - guint pos); + gint pos); GSList * gtk_widget_path_iter_list_classes (const GtkWidgetPath *path, - guint pos); + gint pos); gboolean gtk_widget_path_iter_has_class (const GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); gboolean gtk_widget_path_iter_has_qclass (const GtkWidgetPath *path, - guint pos, + gint pos, GQuark qname); void gtk_widget_path_iter_add_region (GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name, GtkRegionFlags flags); void gtk_widget_path_iter_remove_region (GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name); void gtk_widget_path_iter_clear_regions (GtkWidgetPath *path, - guint pos); + gint pos); GSList * gtk_widget_path_iter_list_regions (const GtkWidgetPath *path, - guint pos); + gint pos); gboolean gtk_widget_path_iter_has_region (const GtkWidgetPath *path, - guint pos, + gint pos, const gchar *name, GtkRegionFlags *flags); gboolean gtk_widget_path_iter_has_qregion (const GtkWidgetPath *path, - guint pos, + gint pos, GQuark qname, GtkRegionFlags *flags); |