forked from AuroraMiddleware/gtk
Drop gtk_grab_get_current
Another grab-related api that we are not using.
This commit is contained in:
parent
0ffb35c9e7
commit
57c8a643ff
@ -4392,7 +4392,6 @@ gtk_init_check
|
||||
|
||||
<SUBSECTION>
|
||||
gtk_grab_add
|
||||
gtk_grab_get_current
|
||||
gtk_grab_remove
|
||||
|
||||
<SUBSECTION>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user