gtk4.git
4 years agostylecontext: Remove unneeded headers
Benjamin Otte [Mon, 23 Aug 2021 05:06:25 +0000 (07:06 +0200)]
stylecontext: Remove unneeded headers

4 years agofontbutton: Destroy dialog in unrealize()
Benjamin Otte [Mon, 23 Aug 2021 03:55:56 +0000 (05:55 +0200)]
fontbutton: Destroy dialog in unrealize()

This way, we can be sure it's always using the right display.

We can also be sure that it doesn't leak.

4 years agofontbutton: Make sure the window is on the same display
Benjamin Otte [Mon, 23 Aug 2021 03:55:32 +0000 (05:55 +0200)]
fontbutton: Make sure the window is on the same display

We don't want the font buttons created by the inspector to run on the
default display.

4 years agobuild: Check that introspection is enabled for docs build
Benjamin Otte [Sun, 29 Aug 2021 00:47:34 +0000 (02:47 +0200)]
build: Check that introspection is enabled for docs build

4 years agodocs: Fix vfunc references
Benjamin Otte [Sun, 29 Aug 2021 02:27:58 +0000 (04:27 +0200)]
docs: Fix vfunc references

vfunc references should just use the object name, not the
class/interface/iface name.

4 years agongl: Avoid a coordinate overflow
Matthias Clasen [Sat, 28 Aug 2021 19:42:30 +0000 (15:42 -0400)]
ngl: Avoid a coordinate overflow

This was showing up as big text selections going
missing sporadically.

Fixes: #4214
4 years agox11: Fix handling of `RRScreenChangeNotify`/`RRNotify` events
Ian Douglas Scott [Sat, 28 Aug 2021 00:57:01 +0000 (17:57 -0700)]
x11: Fix handling of `RRScreenChangeNotify`/`RRNotify` events

It seems these are sent with `xwindow` set to the root window, so this
was failing to find a surface and get the screen from that.

I'm not sure if there's a reason not to get the screen this way
elsewhere in the function, but it seems this should be correct.

This fixes the behavior of `gdk_x11_display_get_monitors()`, which
wasn't correctly changing when monitors were added or removed. For
instance, this python code was always showing the same number of
monitors when one was turned off and on, but updates correctly with this
change applied:

```python
import gi
gi.require_version("GLib", "2.0")
gi.require_version("Gdk", "4.0")
gi.require_version("Gtk", "4.0")
from gi.repository import GLib, Gdk, Gtk

def f():
    print(len(Gdk.Display.get_default().get_monitors()))
    return True
GLib.timeout_add_seconds(1, f)

GLib.MainLoop().run()
```

4 years agowindow: Prefer menu bars when handling F10
Florian Müllner [Fri, 27 Aug 2021 22:10:00 +0000 (00:10 +0200)]
window: Prefer menu bars when handling F10

Focusing the first widget in the titlebar is a good fallback,
but a "real" menubar or :primary menu button should take
precedence.

4 years agotextview: Apply font features from css
Matthias Clasen [Fri, 27 Aug 2021 00:21:23 +0000 (20:21 -0400)]
textview: Apply font features from css

We were forgetting to propagate these values from
CSS to the default attributes. Share the code for
getting these values out of a GtkCssStyle.

4 years agotextview: Apply line decoration from css
Matthias Clasen [Thu, 26 Aug 2021 22:45:38 +0000 (18:45 -0400)]
textview: Apply line decoration from css

We were forgetting to propagate these values from
CSS to the default attributes.

4 years agotextview: Don't forget to collect css letterspacing
Matthias Clasen [Thu, 26 Aug 2021 19:01:23 +0000 (15:01 -0400)]
textview: Don't forget to collect css letterspacing

There are more properties missing, this is just the start.

Fixes: #4207
4 years agowindowhandle: Quiet a compiler warning
Matthias Clasen [Sun, 22 Aug 2021 18:17:36 +0000 (14:17 -0400)]
windowhandle: Quiet a compiler warning

gesture was left uninitialized in the default case.

4 years agoUpdate Finnish translation
Jiri Grönroos [Thu, 2 Sep 2021 16:06:39 +0000 (16:06 +0000)]
Update Finnish translation

4 years agoUpdated Lithuanian translation
Aurimas Černius [Thu, 2 Sep 2021 10:49:47 +0000 (13:49 +0300)]
Updated Lithuanian translation

4 years agoUpdate Persian translation
Danial Behzadi [Wed, 1 Sep 2021 09:43:59 +0000 (09:43 +0000)]
Update Persian translation

4 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 1 Sep 2021 09:02:05 +0000 (11:02 +0200)]
Updated Spanish translation

4 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 29 Aug 2021 17:11:04 +0000 (17:11 +0000)]
Update Kazakh translation

4 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 29 Aug 2021 14:42:01 +0000 (14:42 +0000)]
Update Kazakh translation

4 years agoUpdate Brazilian Portuguese translation
Enrico Nicoletto [Sat, 28 Aug 2021 01:00:26 +0000 (01:00 +0000)]
Update Brazilian Portuguese translation

4 years agoUpdate Brazilian Portuguese translation
Enrico Nicoletto [Sat, 28 Aug 2021 00:44:25 +0000 (00:44 +0000)]
Update Brazilian Portuguese translation

4 years agoUpdate Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 14:45:38 +0000 (14:45 +0000)]
Update Indonesian translation

4 years agoUpdate Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 14:40:03 +0000 (14:40 +0000)]
Update Indonesian translation

4 years agoUpdate Portuguese translation
Hugo Carvalho [Thu, 26 Aug 2021 14:29:50 +0000 (14:29 +0000)]
Update Portuguese translation

4 years agoUpdate Portuguese translation
Hugo Carvalho [Thu, 26 Aug 2021 14:12:47 +0000 (14:12 +0000)]
Update Portuguese translation

4 years agoUpdate Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 13:38:46 +0000 (13:38 +0000)]
Update Indonesian translation

4 years agoUpdated Czech translation
Marek Černocký [Thu, 26 Aug 2021 12:48:55 +0000 (14:48 +0200)]
Updated Czech translation

4 years agoUpdated Czech translation
Marek Černocký [Thu, 26 Aug 2021 12:35:37 +0000 (14:35 +0200)]
Updated Czech translation

4 years agoUpdate Catalan translation
Jordi Mas [Thu, 26 Aug 2021 11:10:32 +0000 (13:10 +0200)]
Update Catalan translation

4 years agoUpdate Catalan translation
Jordi Mas [Wed, 25 Aug 2021 13:17:27 +0000 (15:17 +0200)]
Update Catalan translation

4 years agoMerge branch '4195-backport-gtk-4-4' into 'gtk-4-4'
Emmanuele Bassi [Wed, 25 Aug 2021 16:22:28 +0000 (16:22 +0000)]
Merge branch '4195-backport-gtk-4-4' into 'gtk-4-4'

gdkmacoseventsource: Include "gdk-private.h" (Backport to gtk-4-4)

See merge request GNOME/gtk!3884

4 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 25 Aug 2021 15:36:56 +0000 (17:36 +0200)]
Updated Spanish translation

4 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 25 Aug 2021 15:36:49 +0000 (17:36 +0200)]
Updated Spanish translation

4 years agogdkmacoseventsource: Include "gdk-private.h"
Peter Bloomfield [Tue, 24 Aug 2021 20:55:52 +0000 (16:55 -0400)]
gdkmacoseventsource: Include "gdk-private.h"

_gdk_macos_event_source_new() calls g_source_set_static_name(), which
for GLib versions before 2.69.1 is a macro defined in gdk-private.h.

Fixes #4195

4 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Aug 2021 07:26:42 +0000 (07:26 +0000)]
Update Galician translation

4 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Aug 2021 06:12:31 +0000 (06:12 +0000)]
Update Galician translation

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 24 Aug 2021 17:28:48 +0000 (17:28 +0000)]
Update Ukrainian translation

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 15:22:14 +0000 (15:22 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Handle new pango attribute type

See merge request GNOME/gtk!3866

4 years agoHandle new pango attribute type
Matthias Clasen [Sat, 21 Aug 2021 00:12:04 +0000 (20:12 -0400)]
Handle new pango attribute type

Update all the places where we switch over
PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM,
and do nothing for now - text-transform support
will land in 4.6.

4 years ago4.4.0
Matthias Clasen [Fri, 20 Aug 2021 17:38:10 +0000 (13:38 -0400)]
4.4.0

4 years agoFix imcontext tests
Matthias Clasen [Fri, 20 Aug 2021 18:41:05 +0000 (14:41 -0400)]
Fix imcontext tests

We should force our internal im context for these
tests, so we don't depend on the environment.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 14:21:39 +0000 (14:21 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

NEWS: Updates

See merge request GNOME/gtk!3861

4 years agoNEWS: Updates
Matthias Clasen [Fri, 20 Aug 2021 13:24:04 +0000 (09:24 -0400)]
NEWS: Updates

4 years agoMerge branch 'cut-shortcut-activation-short' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 13:50:51 +0000 (13:50 +0000)]
Merge branch 'cut-shortcut-activation-short' into 'master'

shortcutcontroller: Only do round-robin for mnemonics

Closes #4130

See merge request GNOME/gtk!3824

4 years agoshortcutcontroller: Only do round-robin for mnemonics
Matthias Clasen [Tue, 3 Aug 2021 20:23:16 +0000 (16:23 -0400)]
shortcutcontroller: Only do round-robin for mnemonics

Don't do round-robin activation unless we are looking
for mnemonics, where this is an expected feature.

Fixes: #4130
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 13:22:01 +0000 (13:22 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gdk: Add a missing annotation

Closes #4097

See merge request GNOME/gtk!3860

4 years agoMerge branch 'master' into 'master'
Emmanuele Bassi [Fri, 20 Aug 2021 13:18:37 +0000 (13:18 +0000)]
Merge branch 'master' into 'master'

a11y: Send correct object reference for the root accessible

See merge request GNOME/gtk!3800

4 years agogdk: Add a missing annotation
Matthias Clasen [Fri, 20 Aug 2021 12:57:27 +0000 (08:57 -0400)]
gdk: Add a missing annotation

Mark an array as zero-terminated.

Fixes: #4097
4 years agoMerge branch 'add-support-for-windows-pointer-input-stack-gtk4' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 11:31:16 +0000 (11:31 +0000)]
Merge branch 'add-support-for-windows-pointer-input-stack-gtk4' into 'master'

Add support for Windows Pointer Input Stack

Closes #262, #3162, #729, and #537

See merge request GNOME/gtk!3684

4 years agoMerge branch 'block-cursor-fixes' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 06:18:07 +0000 (06:18 +0000)]
Merge branch 'block-cursor-fixes' into 'master'

textview: Don't eat block cursors

See merge request GNOME/gtk!3857

4 years agotextview: Don't eat block cursors
Matthias Clasen [Fri, 20 Aug 2021 05:55:50 +0000 (01:55 -0400)]
textview: Don't eat block cursors

We need to render even an empty paragraph when
it has a block cursor at the end. This fixes block
cursors not showing up in empty lines.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 19 Aug 2021 21:19:40 +0000 (21:19 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

window: Make resizeability changes work

See merge request GNOME/gtk!3856

4 years agowindow: Make resizeability changes work
Matthias Clasen [Thu, 19 Aug 2021 20:03:58 +0000 (16:03 -0400)]
window: Make resizeability changes work

We were forgetting to update the toplevel
properties here.

4 years agoMove the _gdk_win32_pointer_input_api global variable into GdkWin32Display
Luca Bacci [Thu, 19 Aug 2021 14:29:45 +0000 (16:29 +0200)]
Move the _gdk_win32_pointer_input_api global variable into GdkWin32Display

4 years agowindows: Update the docs for env vars
Matthias Clasen [Fri, 16 Jul 2021 12:27:54 +0000 (08:27 -0400)]
windows: Update the docs for env vars

We've replaced some env vars with a new one.
Update the docs to match.

4 years agoFix typo
Luca Bacci [Mon, 16 Aug 2021 12:57:49 +0000 (14:57 +0200)]
Fix typo

4 years agoDisable visual feedback for pen ad touch
Luca Bacci [Mon, 16 Aug 2021 12:56:49 +0000 (14:56 +0200)]
Disable visual feedback for pen ad touch

4 years agoFilter out spurious mouse messages while handling pen or touch input
Luca Bacci [Mon, 16 Aug 2021 12:53:35 +0000 (14:53 +0200)]
Filter out spurious mouse messages while handling pen or touch input

4 years agoAdd _gdk_win32_get_cursor_pos utility
Luca Bacci [Mon, 16 Aug 2021 12:39:25 +0000 (14:39 +0200)]
Add _gdk_win32_get_cursor_pos utility

4 years agoHandle WinPointer input
Luca Bacci [Fri, 9 Jul 2021 13:17:17 +0000 (15:17 +0200)]
Handle WinPointer input

4 years agoInitialize WinPointer and enumerate devices
Luca Bacci [Fri, 2 Jul 2021 09:13:06 +0000 (11:13 +0200)]
Initialize WinPointer and enumerate devices

4 years agoAdd new GdkDeviceWinpointer type
Luca Bacci [Fri, 2 Jul 2021 08:53:16 +0000 (10:53 +0200)]
Add new GdkDeviceWinpointer type

4 years agoAdd winpointer.h header file for type declarations
Luca Bacci [Wed, 18 Aug 2021 10:34:24 +0000 (12:34 +0200)]
Add winpointer.h header file for type declarations

4 years agoAdd entry for WinPointer in GdkWin32TabletInputAPI enum
Luca Bacci [Fri, 18 Jun 2021 11:47:40 +0000 (13:47 +0200)]
Add entry for WinPointer in GdkWin32TabletInputAPI enum

4 years agoMake room for other API's than Wintab
Luca Bacci [Fri, 18 Jun 2021 09:59:38 +0000 (11:59 +0200)]
Make room for other API's than Wintab

4 years agoRemove _gdk_input_ignore_wintab variable
Luca Bacci [Fri, 18 Jun 2021 09:43:53 +0000 (11:43 +0200)]
Remove _gdk_input_ignore_wintab variable

Also remove unused variable _gdk_max_colors

4 years agoRename some Wintab-related functions
Luca Bacci [Fri, 18 Jun 2021 09:36:08 +0000 (11:36 +0200)]
Rename some Wintab-related functions

4 years agoSet active physical device when using the mouse
Luca Bacci [Mon, 5 Jul 2021 14:13:59 +0000 (16:13 +0200)]
Set active physical device when using the mouse

4 years agoMove use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers
Luca Bacci [Fri, 2 Jul 2021 08:17:13 +0000 (10:17 +0200)]
Move use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers

4 years agoAdd a physical_device argument to send_crossing_event et al
Luca Bacci [Fri, 2 Jul 2021 08:15:52 +0000 (10:15 +0200)]
Add a physical_device argument to send_crossing_event et al

4 years agoRaise _WIN32_WINNT macro to target Windows 7 API
Luca Bacci [Tue, 29 Jun 2021 12:27:13 +0000 (14:27 +0200)]
Raise _WIN32_WINNT macro to target Windows 7 API

4 years agoUpdates
Matthias Clasen [Thu, 19 Aug 2021 05:47:43 +0000 (01:47 -0400)]
Updates

4 years agoMerge branch 'better-word-selection' into 'master'
Matthias Clasen [Thu, 19 Aug 2021 04:51:11 +0000 (04:51 +0000)]
Merge branch 'better-word-selection' into 'master'

textview: Improve word selection

Closes #4177

See merge request GNOME/gtk!3855

4 years agotextview: Improve word selection
Matthias Clasen [Thu, 19 Aug 2021 04:33:03 +0000 (00:33 -0400)]
textview: Improve word selection

Avoid selecting a whole extra paragraph when a select-by-words
selection is extended beyond the end of the previous paragraph.

Fixes: #4177
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 19 Aug 2021 02:49:23 +0000 (02:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Cosmetics

See merge request GNOME/gtk!3854

4 years agoCosmetics
Matthias Clasen [Thu, 19 Aug 2021 02:33:23 +0000 (22:33 -0400)]
Cosmetics

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Thu, 19 Aug 2021 01:42:26 +0000 (01:42 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

demo: Add a dnd special-case for textures

See merge request GNOME/gtk!3853

4 years agogtk-demo: Make clipboard demo paste from clipboard
Benjamin Otte [Thu, 19 Aug 2021 01:14:59 +0000 (03:14 +0200)]
gtk-demo: Make clipboard demo paste from clipboard

The old code was just pasting local clipboard data that we put there
ourselves and was causing criticals on remote clipboard data. Now the
code does the proper async paste.

4 years agocontentprovider: Switch wrong order in type check
Benjamin Otte [Thu, 19 Aug 2021 01:14:24 +0000 (03:14 +0200)]
contentprovider: Switch wrong order in type check

We can provide textures as a paintable - we can't provide paintables as
textures.

4 years agodemo: Add a dnd special-case for textures
Benjamin Otte [Thu, 19 Aug 2021 00:15:59 +0000 (02:15 +0200)]
demo: Add a dnd special-case for textures

If the DND/clipboard machinery knows a texture is a texture, it will try
to serialize it. Paintables can't be serialized, so it wouldn't try.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 22:05:07 +0000 (22:05 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

infobar: Update buildable docs

Closes #4164

See merge request GNOME/gtk!3852

4 years agoinfobar: Update buildable docs
Matthias Clasen [Wed, 18 Aug 2021 21:42:54 +0000 (17:42 -0400)]
infobar: Update buildable docs

Document the current state of GtkBuilder support in
GtkInfoBar, not what we had in GTK3.

Fixes: #4164
4 years agoMerge branch 'seat-v7' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 21:10:30 +0000 (21:10 +0000)]
Merge branch 'seat-v7' into 'master'

gdk/wayland: add support for wl_seat version 7

See merge request GNOME/gtk!3842

4 years agoMerge branch 'fix/wm_class2' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 18:24:37 +0000 (18:24 +0000)]
Merge branch 'fix/wm_class2' into 'master'

x11: ensure WM class is not null even if display is initialized early

See merge request GNOME/gtk!3808

4 years agoMerge branch 'win32-drop-local-dnd' into 'master'
Benjamin Otte [Wed, 18 Aug 2021 14:27:14 +0000 (14:27 +0000)]
Merge branch 'win32-drop-local-dnd' into 'master'

gdk/win32: Drop local DnD protocol

See merge request GNOME/gtk!3830

4 years agoMerge branch 'win32-check-shader-support' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 12:19:57 +0000 (12:19 +0000)]
Merge branch 'win32-check-shader-support' into 'master'

GDK-Win32: Reject GL context if shaders aren't supported (fix issue #4165)

Closes #4165

See merge request GNOME/gtk!3850

4 years agoMerge branch 'master' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 12:00:41 +0000 (12:00 +0000)]
Merge branch 'master' into 'master'

gtkbuilderparser: Fix duplicate object id detection

See merge request GNOME/gtk!3848

4 years agogtkbuilderparser: Fix duplicate object id detection
Ye Moran [Wed, 18 Aug 2021 12:00:40 +0000 (12:00 +0000)]
gtkbuilderparser: Fix duplicate object id detection

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 18 Aug 2021 03:24:41 +0000 (03:24 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Add a custom input test

See merge request GNOME/gtk!3851

4 years agoimcontext: Improve docs
Matthias Clasen [Wed, 18 Aug 2021 00:36:32 +0000 (20:36 -0400)]
imcontext: Improve docs

Add some more docs around GtkIMContext.

4 years agoAdd a custom input test
Matthias Clasen [Wed, 18 Aug 2021 01:55:33 +0000 (21:55 -0400)]
Add a custom input test

This shows the minimal work required to hook up an
im context to a custom widget.

4 years agoMerge branch 'wip/exalm/query-action-transfer' into 'master'
Emmanuele Bassi [Tue, 17 Aug 2021 17:56:40 +0000 (17:56 +0000)]
Merge branch 'wip/exalm/query-action-transfer' into 'master'

widget: Fix gtk_widget_class_query_action() annotations

See merge request GNOME/gtk!3843

4 years agoGDK-Win32: Reject WGL context if shaders aren't supported
Chun-wei Fan [Tue, 17 Aug 2021 07:13:38 +0000 (15:13 +0800)]
GDK-Win32: Reject WGL context if shaders aren't supported

When we initialize OpenGL, check whether we have OpenGL  2.0 or later; if not,
check whether we have the 'GL_ARB_shader_objects' extension, since we must be
able to support shaders if using OpenGL for GTK.

If we don't support shaders, as some Windows graphics drivers do not support
OpenGL adequately, notably older Intel drivers, reject and destroy the GL
context that we created, and so fallback to the Cairo GSK renderer, so that
things continue to run, albeit with an expected warning message that the GL
context cannot be realized.

Also, when we could not make the created dummy WGL context current during
initialization, make sure that we destroy the dummy WGL context as well.

Fixes issue #4165.

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Thu, 12 Aug 2021 12:36:28 +0000 (12:36 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

gdk: Include Vulkan error code in vulkan_strerror()

See merge request GNOME/gtk!3844

4 years agogdk: Include Vulkan error code in vulkan_strerror()
Benjamin Otte [Thu, 12 Aug 2021 12:18:46 +0000 (14:18 +0200)]
gdk: Include Vulkan error code in vulkan_strerror()

4 years agogdk/wayland: add support for wl_seat version 7
Simon Ser [Wed, 11 Aug 2021 09:01:55 +0000 (11:01 +0200)]
gdk/wayland: add support for wl_seat version 7

Version 7 requires wl_keyboard keymaps to be mapped with
MAP_PRIVATE, so that the compositor can share the same keymap
file between multiple clients.

4 years agogdk/wayland: add support for wl_seat version 6
Simon Ser [Wed, 11 Aug 2021 08:59:35 +0000 (10:59 +0200)]
gdk/wayland: add support for wl_seat version 6

Version 6 adds two new wl_touch events, which can be ignored.

4 years agowidget: Fix gtk_widget_class_query_action() annotations
Alexander Mikhaylenko [Wed, 11 Aug 2021 09:33:38 +0000 (14:33 +0500)]
widget: Fix gtk_widget_class_query_action() annotations

Add transfer none on all out values as they aren't being copied.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 10 Aug 2021 15:08:20 +0000 (15:08 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Handle the new line height pango attribute

See merge request GNOME/gtk!3840

4 years agoci: Add libjpeg-turbo-devel to the Fedora image
Matthias Clasen [Tue, 10 Aug 2021 12:13:57 +0000 (08:13 -0400)]
ci: Add libjpeg-turbo-devel to the Fedora image

This was getting downloaded from sourceforge every
time for the docs build, and that started failing.

4 years agoHandle the new line height pango attribute
Matthias Clasen [Sat, 7 Aug 2021 16:11:29 +0000 (12:11 -0400)]
Handle the new line height pango attribute

Update all the places where we switch over PangoAttributeType
to handle (and ignore, for now) the new line height attribute.