summaryrefslogtreecommitdiff
path: root/gtk/gtkactionmuxer.c
diff options
context:
space:
mode:
authorChristian Hergert <christian@hergert.me>2014-12-11 15:25:41 -0800
committerChristian Hergert <christian@hergert.me>2014-12-11 15:25:41 -0800
commit661da5558c14520070174b0fd65f1a9c508f4ca4 (patch)
treeb65f23c6c4193150ce284ca576dee8b6a4cd1f81 /gtk/gtkactionmuxer.c
parentab5b0d098365c5fb156959d16edecfccf2cc61c2 (diff)
downloadgtk+-661da5558c14520070174b0fd65f1a9c508f4ca4.tar.gz
widget: add helpers to resolve GActionGroups available to GtkWidget
These functions, while added for use by the GTK inspector, are generally useful to applications that need to resolve what action groups are available to a particular GtkWidget. https://bugzilla.gnome.org/show_bug.cgi?id=741386
Diffstat (limited to 'gtk/gtkactionmuxer.c')
-rw-r--r--gtk/gtkactionmuxer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkactionmuxer.c b/gtk/gtkactionmuxer.c
index a1dc9f8110..408973bc2f 100644
--- a/gtk/gtkactionmuxer.c
+++ b/gtk/gtkactionmuxer.c
@@ -732,10 +732,10 @@ gtk_action_muxer_remove (GtkActionMuxer *muxer,
}
}
-gchar **
+const gchar **
gtk_action_muxer_list_prefixes (GtkActionMuxer *muxer)
{
- return (gchar **) g_hash_table_get_keys_as_array (muxer->groups, NULL);
+ return (const gchar **) g_hash_table_get_keys_as_array (muxer->groups, NULL);
}
GActionGroup *