Drop gtk_grab_get_current

Another grab-related api that we are not using.
This commit is contained in:
Matthias Clasen 2020-02-28 16:29:56 -05:00
parent 0ffb35c9e7
commit 57c8a643ff
3 changed files with 0 additions and 21 deletions

View File

@ -4392,7 +4392,6 @@ gtk_init_check
<SUBSECTION>
gtk_grab_add
gtk_grab_get_current
gtk_grab_remove
<SUBSECTION>

View File

@ -2045,24 +2045,6 @@ gtk_grab_add (GtkWidget *widget)
}
}
/**
* gtk_grab_get_current:
*
* Queries the current grab of the default window group.
*
* Returns: (transfer none) (nullable): The widget which currently
* has the grab or %NULL if no grab is active
*/
GtkWidget*
gtk_grab_get_current (void)
{
GtkWindowGroup *group;
group = gtk_main_get_window_group (NULL);
return gtk_window_group_get_current_grab (group);
}
/**
* gtk_grab_remove: (method)
* @widget: The widget which gives up the grab

View File

@ -110,8 +110,6 @@ GtkTextDirection gtk_get_locale_direction (void);
GDK_AVAILABLE_IN_ALL
void gtk_grab_add (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_grab_get_current (void);
GDK_AVAILABLE_IN_ALL
void gtk_grab_remove (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL