mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
widget: Remove gtk_widget_list_action_prefixes
This function was added just for the inspector, and is not used there anymore. Drop it.
This commit is contained in:
parent
d2e0d3222f
commit
9bb2d1eb5c
@ -755,12 +755,6 @@ gtk_action_muxer_remove (GtkActionMuxer *muxer,
|
||||
}
|
||||
}
|
||||
|
||||
const gchar **
|
||||
gtk_action_muxer_list_prefixes (GtkActionMuxer *muxer)
|
||||
{
|
||||
return (const gchar **) g_hash_table_get_keys_as_array (muxer->groups, NULL);
|
||||
}
|
||||
|
||||
GActionGroup *
|
||||
gtk_action_muxer_lookup (GtkActionMuxer *muxer,
|
||||
const gchar *prefix)
|
||||
|
@ -41,7 +41,6 @@ void gtk_action_muxer_insert (GtkActi
|
||||
|
||||
void gtk_action_muxer_remove (GtkActionMuxer *muxer,
|
||||
const gchar *prefix);
|
||||
const gchar ** gtk_action_muxer_list_prefixes (GtkActionMuxer *muxer);
|
||||
GActionGroup * gtk_action_muxer_lookup (GtkActionMuxer *muxer,
|
||||
const gchar *prefix);
|
||||
GActionGroup * gtk_action_muxer_find (GtkActionMuxer *muxer,
|
||||
|
@ -12413,29 +12413,6 @@ gtk_widget_get_template_child (GtkWidget *widget,
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_widget_list_action_prefixes:
|
||||
* @widget: A #GtkWidget
|
||||
*
|
||||
* Retrieves a %NULL-terminated array of strings containing the prefixes of
|
||||
* #GActionGroup's available to @widget.
|
||||
*
|
||||
* Returns: (transfer container): a %NULL-terminated array of strings.
|
||||
*/
|
||||
const gchar **
|
||||
gtk_widget_list_action_prefixes (GtkWidget *widget)
|
||||
{
|
||||
GtkActionMuxer *muxer;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
|
||||
|
||||
muxer = _gtk_widget_get_action_muxer (widget, FALSE);
|
||||
if (muxer)
|
||||
return gtk_action_muxer_list_prefixes (muxer);
|
||||
|
||||
return g_new0 (const gchar *, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_widget_get_action_group:
|
||||
* @widget: A #GtkWidget
|
||||
|
@ -974,9 +974,6 @@ GDK_AVAILABLE_IN_ALL
|
||||
GActionGroup *gtk_widget_get_action_group (GtkWidget *widget,
|
||||
const gchar *prefix);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const gchar ** gtk_widget_list_action_prefixes (GtkWidget *widget);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_widget_insert_action_group (GtkWidget *widget,
|
||||
const gchar *name,
|
||||
|
Loading…
Reference in New Issue
Block a user