GtkWidgetPath: properly use const
* gtk/gtkwidgetpath.c, * gtk/gtkwidgetpath.h: use const where possible
This commit is contained in:
committed by
Carlos Garnacho
parent
b6226cb7b9
commit
27bc581dca
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user