diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-09 19:15:44 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-09 19:15:44 +0000 |
commit | 994f8216f1ff1fa75c05b11a6070cc132b35c39b (patch) | |
tree | d8bf28f1df49f1cd674f07bdb15a664587dd3de0 /gtk/gtkaction.h | |
parent | 4ad562fc0cdad6e6dc1d9cdd3eaf0a69d9960428 (diff) | |
download | gtk+-994f8216f1ff1fa75c05b11a6070cc132b35c39b.tar.gz |
Make return types G_CONST_RETURN instead of const.
2004-11-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.[hc]:
* gtk/gtkactiongroup.[hc]: Make return types G_CONST_RETURN
instead of const.
* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_get_accel_path): Add
a function to obtain the accel path of an action. (#148106,
Michael Natterer)
Diffstat (limited to 'gtk/gtkaction.h')
-rw-r--r-- | gtk/gtkaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkaction.h b/gtk/gtkaction.h index 6449748608..193e9dcd83 100644 --- a/gtk/gtkaction.h +++ b/gtk/gtkaction.h @@ -85,7 +85,7 @@ GtkAction *gtk_action_new (const gchar *name, const gchar *label, const gchar *tooltip, const gchar *stock_id); -const gchar* gtk_action_get_name (GtkAction *action); +G_CONST_RETURN gchar* gtk_action_get_name (GtkAction *action); gboolean gtk_action_is_sensitive (GtkAction *action); gboolean gtk_action_get_sensitive (GtkAction *action); void gtk_action_set_sensitive (GtkAction *action, @@ -106,6 +106,7 @@ void gtk_action_disconnect_proxy (GtkAction *action, GSList* gtk_action_get_proxies (GtkAction *action); void gtk_action_connect_accelerator (GtkAction *action); void gtk_action_disconnect_accelerator (GtkAction *action); +G_CONST_RETURN gchar *gtk_action_get_accel_path (GtkAction *action); /* protected ... for use by child actions */ void gtk_action_block_activate_from (GtkAction *action, |