summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetpath.h
diff options
context:
space:
mode:
authorSven Herzberg <herzi@gnome-de.org>2010-08-05 16:21:12 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:37:32 +0100
commit27bc581dca3bdabcbfe708dfbb0eec64db016b6f (patch)
treec412ab755910a46f90d847b684c781b959488507 /gtk/gtkwidgetpath.h
parentb6226cb7b943be3ffc13cceca328f840b1c85def (diff)
downloadgtk+-27bc581dca3bdabcbfe708dfbb0eec64db016b6f.tar.gz
GtkWidgetPath: properly use const
* gtk/gtkwidgetpath.c, * gtk/gtkwidgetpath.h: use const where possible
Diffstat (limited to 'gtk/gtkwidgetpath.h')
-rw-r--r--gtk/gtkwidgetpath.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h
index 9e2d0edf1e..78c33e0e14 100644
--- a/gtk/gtkwidgetpath.h
+++ b/gtk/gtkwidgetpath.h
@@ -33,22 +33,22 @@ 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 (GtkWidgetPath *path);
+guint gtk_widget_path_length (const GtkWidgetPath *path);
guint gtk_widget_path_prepend_type (GtkWidgetPath *path,
GType type);
-GType gtk_widget_path_get_element_type (GtkWidgetPath *path,
+GType gtk_widget_path_get_element_type (const GtkWidgetPath*path,
guint pos);
void gtk_widget_path_set_element_type (GtkWidgetPath *path,
guint pos,
GType type);
-G_CONST_RETURN gchar * gtk_widget_path_get_element_name (GtkWidgetPath *path,
- guint pos);
-void gtk_widget_path_set_element_name (GtkWidgetPath *path,
- guint pos,
- const gchar *name);
+G_CONST_RETURN gchar * gtk_widget_path_get_element_name (const GtkWidgetPath *path,
+ guint pos);
+void gtk_widget_path_set_element_name (GtkWidgetPath *path,
+ guint pos,
+ const gchar *name);
void gtk_widget_path_iter_add_region (GtkWidgetPath *path,
guint pos,
@@ -60,13 +60,13 @@ void gtk_widget_path_iter_remove_region (GtkWidgetPath *path,
void gtk_widget_path_iter_clear_regions (GtkWidgetPath *path,
guint pos);
-GSList * gtk_widget_path_iter_list_regions (GtkWidgetPath *path,
- guint pos);
+GSList * gtk_widget_path_iter_list_regions (const GtkWidgetPath *path,
+ guint pos);
-gboolean gtk_widget_path_iter_has_region (GtkWidgetPath *path,
- guint pos,
- const gchar *name,
- GtkChildClassFlags *flags);
+gboolean gtk_widget_path_iter_has_region (const GtkWidgetPath *path,
+ guint pos,
+ const gchar *name,
+ GtkChildClassFlags *flags);
GType gtk_widget_path_get_widget_type (const GtkWidgetPath *path);