Merge branch 'wl-since' into 'master'

Add missing "Since: 4.X" doc tags

See merge request GNOME/gtk!3736
This commit is contained in:
Matthias Clasen 2021-07-07 21:36:13 +00:00
commit 880c01f8cc
4 changed files with 8 additions and 0 deletions

View File

@ -340,6 +340,8 @@ gdk_wayland_gl_context_init (GdkWaylandGLContext *self)
* Retrieves the EGL display connection object for the given GDK display.
*
* Returns: (nullable): the EGL display
*
* Since: 4.4
*/
gpointer
gdk_wayland_display_get_egl_display (GdkDisplay *display)

View File

@ -606,6 +606,8 @@ gtk_file_filter_add_pattern (GtkFileFilter *filter,
*
* In contrast to pattern matches, suffix matches
* are *always* case-insensitive.
*
* Since: 4.4
*/
void
gtk_file_filter_add_suffix (GtkFileFilter *filter,

View File

@ -2623,6 +2623,8 @@ gtk_icon_theme_has_icon (GtkIconTheme *self,
* for a particular `GIcon`.
*
* Returns: %TRUE if @self includes an icon for @gicon
*
* Since: 4.2
*/
gboolean
gtk_icon_theme_has_gicon (GtkIconTheme *self,

View File

@ -1302,6 +1302,8 @@ gtk_menu_button_set_primary (GtkMenuButton *menu_button,
* Returns whether the menu button acts as a primary menu.
*
* Returns: %TRUE if the button is a primary menu
*
* Since: 4.4
*/
gboolean
gtk_menu_button_get_primary (GtkMenuButton *menu_button)