gtk4.git
2 years agofaq: Don't number questions
Matthias Clasen [Mon, 13 Feb 2023 13:50:36 +0000 (08:50 -0500)]
faq: Don't number questions

The numbering makes it unnecessarily hard to add
and remove questions, and does not really seem
necessary. Just use bullets.

2 years agofaq: Some updates
Matthias Clasen [Mon, 13 Feb 2023 13:37:37 +0000 (08:37 -0500)]
faq: Some updates

Miscellaneous tweaks and changes, after reading
the whole thing.

2 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 13 Feb 2023 02:47:33 +0000 (02:47 +0000)]
Update Indonesian translation

2 years agoPost-release version bump
Matthias Clasen [Mon, 13 Feb 2023 02:04:15 +0000 (21:04 -0500)]
Post-release version bump

2 years ago4.9.4
Matthias Clasen [Mon, 13 Feb 2023 01:33:41 +0000 (20:33 -0500)]
4.9.4

2 years agodocs: Document new build options
Matthias Clasen [Mon, 13 Feb 2023 01:35:51 +0000 (20:35 -0500)]
docs: Document new build options

2 years agoMerge branch 'fix-gst-gl-use' into 'main'
Matthias Clasen [Mon, 13 Feb 2023 00:41:51 +0000 (00:41 +0000)]
Merge branch 'fix-gst-gl-use' into 'main'

gstreamer: Fix gl context use

Closes #5586

See merge request GNOME/gtk!5508

2 years agogstreamer: Fix gl context use
Matthias Clasen [Mon, 13 Feb 2023 00:29:04 +0000 (19:29 -0500)]
gstreamer: Fix gl context use

We were not activating the context in which
we want to wait for the fence. This caused
a stream of critical warnings.

Fixes: #5586
2 years agoMerge branch 'search_entry_placeholder' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 22:06:36 +0000 (22:06 +0000)]
Merge branch 'search_entry_placeholder' into 'main'

gtksearchentry: Add getter/setter for placeholder text

See merge request GNOME/gtk!4312

2 years agoApply 4 suggestion(s) to 2 file(s)
Matthias Clasen [Sun, 12 Feb 2023 16:41:08 +0000 (16:41 +0000)]
Apply 4 suggestion(s) to 2 file(s)

2 years agogtksearchentry: Add getter/setter for placeholder text
Alexandros Theodotou [Sat, 1 Jan 2022 20:08:53 +0000 (20:08 +0000)]
gtksearchentry: Add getter/setter for placeholder text

2 years agoMerge branch 'mark-deprecations' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 21:44:00 +0000 (21:44 +0000)]
Merge branch 'mark-deprecations' into 'main'

docs: Mark various deprecations

See merge request GNOME/gtk!5502

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 12 Feb 2023 17:56:09 +0000 (17:56 +0000)]
Update Ukrainian translation

2 years agoMerge branch 'template-child-dispose-order' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 16:36:52 +0000 (16:36 +0000)]
Merge branch 'template-child-dispose-order' into 'main'

gtk: Set widget template children to NULL before destroy unref

See merge request GNOME/gtk!4611

2 years agoMerge branch 'main' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 16:28:12 +0000 (16:28 +0000)]
Merge branch 'main' into 'main'

Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes

See merge request GNOME/gtk!5391

2 years agoAdd note about widgets implementing the interface adding the `horizontal`/`vertical...
madmurphy [Sun, 12 Feb 2023 16:28:12 +0000 (16:28 +0000)]
Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes

2 years agodocs: Mark everything in GtkVolumeButton as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:23:16 +0000 (16:23 +0100)]
docs: Mark everything in GtkVolumeButton as deprecated

2 years agodocs: Mark everything in GtkStatusBar as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:21:15 +0000 (16:21 +0100)]
docs: Mark everything in GtkStatusBar as deprecated

2 years agoMerge branch 'no-more-lpr' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 15:29:27 +0000 (15:29 +0000)]
Merge branch 'no-more-lpr' into 'main'

printing: Drop the lpr backend

See merge request GNOME/gtk!5500

2 years agoMerge branch 'texture-atlas-crash' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 15:28:06 +0000 (15:28 +0000)]
Merge branch 'texture-atlas-crash' into 'main'

gl: Avoid a crash in the texture library

Closes #5175

See merge request GNOME/gtk!5501

2 years agodocs: Mark everything in GtkLockButton as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:12:17 +0000 (16:12 +0100)]
docs: Mark everything in GtkLockButton as deprecated

2 years agoprinting: Drop the lpr backend
Matthias Clasen [Sun, 12 Feb 2023 14:27:01 +0000 (09:27 -0500)]
printing: Drop the lpr backend

We want to consolidate and get to fewer print
backends (ideally only one), and the future is cpdb.

2 years agodocs: Mark everything in GtkCellAreaContext as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:06:11 +0000 (16:06 +0100)]
docs: Mark everything in GtkCellAreaContext as deprecated

2 years agodocs: Mark everything in GtkAssistant as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:01:55 +0000 (16:01 +0100)]
docs: Mark everything in GtkAssistant as deprecated

2 years agoUpdate POTFILES.in
Matthias Clasen [Sun, 12 Feb 2023 15:09:22 +0000 (10:09 -0500)]
Update POTFILES.in

2 years agogl: Avoid a crash in the texture library
Matthias Clasen [Sun, 12 Feb 2023 15:01:11 +0000 (10:01 -0500)]
gl: Avoid a crash in the texture library

entry->texture can be NULL, so check before
using it.

Fixes: #5175
2 years agogl: Maintain state when truncating
Matthias Clasen [Sun, 12 Feb 2023 14:56:32 +0000 (09:56 -0500)]
gl: Maintain state when truncating

When we truncate the command queue because it
is too big, we were messing up our state accounting
and running into criticals as a consequence.

This can be reproduced by opening a well-populated
fishbowl demo in the inspectors recorder.

Fixes: #5188
2 years agoDeprecate GtkVolumeButton
Matthias Clasen [Sun, 12 Feb 2023 14:48:49 +0000 (09:48 -0500)]
Deprecate GtkVolumeButton

Too specialized.

2 years agoNEWS: Updates
Matthias Clasen [Sun, 12 Feb 2023 14:21:38 +0000 (09:21 -0500)]
NEWS: Updates

2 years agoMerge branch 'mask-nodes-rebased' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 14:11:47 +0000 (14:11 +0000)]
Merge branch 'mask-nodes-rebased' into 'main'

gsk: Introduce mask nodes

See merge request GNOME/gtk!5497

2 years agoMerge branch 'nacho/scalebutton-active' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 14:01:27 +0000 (14:01 +0000)]
Merge branch 'nacho/scalebutton-active' into 'main'

gtkscalebutton: add active property

See merge request GNOME/gtk!5492

2 years agogtkscalebutton: add active property
Ignacio Casal Quinteiro [Sun, 12 Feb 2023 14:01:26 +0000 (14:01 +0000)]
gtkscalebutton: add active property

2 years agoAdd a mask node demo
Matthias Clasen [Sun, 12 Feb 2023 02:38:42 +0000 (21:38 -0500)]
Add a mask node demo

2 years agoAdd a test for mask nodes
Matthias Clasen [Sun, 12 Feb 2023 03:20:24 +0000 (22:20 -0500)]
Add a test for mask nodes

2 years agoAdd gtk_snapshot_push_mask
Matthias Clasen [Sat, 11 Feb 2023 15:06:54 +0000 (10:06 -0500)]
Add gtk_snapshot_push_mask

2 years agogl: Support mask nodes
Matthias Clasen [Sat, 11 Feb 2023 15:38:56 +0000 (10:38 -0500)]
gl: Support mask nodes

Add a shader for masking.

2 years agogsk: Introduce mask nodes
Matthias Clasen [Sat, 11 Feb 2023 13:59:06 +0000 (08:59 -0500)]
gsk: Introduce mask nodes

Add GskMaskNode, and support it in the render node
parser, in the inspector and in GtkSnapshot.

The rendering is just fallback for now.

Based on old work by Timm Bäder.

2 years agoUpdate Georgian translation
Ekaterine Papava [Sun, 12 Feb 2023 12:30:05 +0000 (12:30 +0000)]
Update Georgian translation

2 years agoUpdate POTFILES.in
Piotr Drąg [Sun, 12 Feb 2023 12:20:48 +0000 (13:20 +0100)]
Update POTFILES.in

2 years agoMerge branch 'fix_editable_label' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 02:55:45 +0000 (02:55 +0000)]
Merge branch 'fix_editable_label' into 'main'

Remove timeout when disposing GtkEditableLabel

Closes #5584

See merge request GNOME/gtk!5499

2 years agoMerge branch 'wip/wl-dispatch-helper' into 'main'
Matthias Clasen [Sun, 12 Feb 2023 01:01:29 +0000 (01:01 +0000)]
Merge branch 'wip/wl-dispatch-helper' into 'main'

wayland: Add event queue dispatch helper

See merge request GNOME/gtk!5498

2 years agoRemove timeout when disposing GtkEditableLabel
Alexandros Theodotou [Sun, 12 Feb 2023 00:28:22 +0000 (09:28 +0900)]
Remove timeout when disposing GtkEditableLabel

Fixes: #5584
2 years agoMerge branch 'scaled-textures' into 'main'
Matthias Clasen [Sat, 11 Feb 2023 22:16:43 +0000 (22:16 +0000)]
Merge branch 'scaled-textures' into 'main'

Scaled textures

See merge request GNOME/gtk!5488

2 years agowayland/launch-context: Use dispatch helper
Jonas Ådahl [Sat, 11 Feb 2023 22:14:53 +0000 (23:14 +0100)]
wayland/launch-context: Use dispatch helper

Otherwise we risk a busy loop if e.g. the pipe broke.

2 years agowayland: Add event queue dispatch helper
Jonas Ådahl [Sat, 11 Feb 2023 22:13:39 +0000 (23:13 +0100)]
wayland: Add event queue dispatch helper

Dispatch failing should always fatal; use a helper to centralize the
error handling everywhere.

2 years agoAdd gtk_snapshot_append_scaled_texture
Matthias Clasen [Sat, 11 Feb 2023 19:20:23 +0000 (14:20 -0500)]
Add gtk_snapshot_append_scaled_texture

This is the snapshot api corresponding to
gsk_texture_scale_node_new.

2 years agoAdd a test for scaled textures
Matthias Clasen [Sat, 11 Feb 2023 18:43:05 +0000 (13:43 -0500)]
Add a test for scaled textures

2 years agogl: Handle GskTextureScaleNodes
Matthias Clasen [Wed, 8 Feb 2023 03:58:47 +0000 (22:58 -0500)]
gl: Handle GskTextureScaleNodes

2 years agogl: Make texture slicing more flexible
Matthias Clasen [Sat, 11 Feb 2023 12:46:38 +0000 (07:46 -0500)]
gl: Make texture slicing more flexible

Allow to specify the filtering to use for the slices,
and allow forcing the number of slices. This will be
used in the next commit.

2 years agogl: Pass filters down from visit_texture_node
Matthias Clasen [Wed, 8 Feb 2023 00:29:07 +0000 (19:29 -0500)]
gl: Pass filters down from visit_texture_node

For now, we always pass GL_LINEAR.

2 years agogtk-demo: Add filtering to the zoom demo
Matthias Clasen [Wed, 8 Feb 2023 00:21:51 +0000 (19:21 -0500)]
gtk-demo: Add filtering to the zoom demo

2 years agogtk-demo: Rewrite the zoom demo slightly
Matthias Clasen [Wed, 8 Feb 2023 00:40:47 +0000 (19:40 -0500)]
gtk-demo: Rewrite the zoom demo slightly

Use a texture directly instead of a paintable.
This will be used in the following commit to
introduce filters.

2 years agonodeparser: Support texture-scale nodes
Matthias Clasen [Wed, 8 Feb 2023 12:06:09 +0000 (07:06 -0500)]
nodeparser: Support texture-scale nodes

2 years agogsk: Introduce GskTextureScaleNode
Matthias Clasen [Wed, 8 Feb 2023 03:52:06 +0000 (22:52 -0500)]
gsk: Introduce GskTextureScaleNode

2 years agoMerge branch 'wip/handle-more-wl-dispatch-failures' into 'main'
Matthias Clasen [Sat, 11 Feb 2023 19:56:45 +0000 (19:56 +0000)]
Merge branch 'wip/handle-more-wl-dispatch-failures' into 'main'

wayland: Handle dispatch failing in a couple of more places

See merge request GNOME/gtk!5495

2 years agogsk: Generate mipmaps when requested
Matthias Clasen [Wed, 8 Feb 2023 00:24:08 +0000 (19:24 -0500)]
gsk: Generate mipmaps when requested

If the min_filter requires it, call
glGenerateMipmap for our textures.

2 years agogsk: Don't limit filters too much
Matthias Clasen [Wed, 8 Feb 2023 00:22:54 +0000 (19:22 -0500)]
gsk: Don't limit filters too much

GL does not allow mipmapping for mag filters,
but it doesn't have a problem with it for min
filters.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 11 Feb 2023 14:18:42 +0000 (14:18 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gdkevents.c: Fix up folding

See merge request GNOME/gtk!5496

2 years agogskrendernodeimpl.c: Use folding
Matthias Clasen [Wed, 8 Feb 2023 03:33:03 +0000 (22:33 -0500)]
gskrendernodeimpl.c: Use folding

Instead of homegrown markup.

2 years agogdkevents.c: Fix up folding
Matthias Clasen [Wed, 8 Feb 2023 03:31:58 +0000 (22:31 -0500)]
gdkevents.c: Fix up folding

The modeline was lost at some point,
and superfluous spacing inserted.

2 years agowayland: Handle dispatch failing in a couple of more places
Jonas Ådahl [Sat, 11 Feb 2023 10:42:21 +0000 (11:42 +0100)]
wayland: Handle dispatch failing in a couple of more places

Without doing this, we'll end up with risking GTK processes sitting
eating 100% CPU instead of just exit(1):ing.

2 years agoMerge branch 'cpdb' into 'main'
Marek Kašík [Fri, 10 Feb 2023 23:10:20 +0000 (23:10 +0000)]
Merge branch 'cpdb' into 'main'

New CPDB print backend for GTK Print Dialog

See merge request GNOME/gtk!4930

2 years agoNew CPDB print backend for GTK Print Dialog
tinytrebuchet [Thu, 9 Feb 2023 18:17:02 +0000 (23:47 +0530)]
New CPDB print backend for GTK Print Dialog

The Common Print Dialog Backends (CPDB) concept has GUI-toolkit-independent
backends for each print technology (CUPS, Print to File, cloud printing
services, ...) and each print dialog (GTK, Qt, Chromium, ...) is supposed
to use this backend, so that changes in print technologies can be centrally
and quickly covered by changing the backends and everything new gets available
in all print dialogs.

This commit provides a GTK print dialog backend to add support for the CPDB
concept. It communicates with all installed CPDB backends and so gives support
for all these print technologies to the GTK print dialog.

To make use of CPDB the GTK print dialog is supposed to be installed with this
backend and the 'Print To File' backend, and not any others to prevent printer
duplication.

2 years agoUpdate Turkish translation
Emin Tufan Çetin [Fri, 10 Feb 2023 05:57:42 +0000 (05:57 +0000)]
Update Turkish translation

2 years agoMerge branch 'avoid-criticals-tracker' into 'main'
Matthias Clasen [Thu, 9 Feb 2023 19:43:31 +0000 (19:43 +0000)]
Merge branch 'avoid-criticals-tracker' into 'main'

searchengine: Avoid criticals when tracker init failed

See merge request GNOME/gtk!5489

2 years agosearchengine: Emit a simple warning when tracker init failed
Gaël Bonithon [Thu, 9 Feb 2023 18:26:47 +0000 (19:26 +0100)]
searchengine: Emit a simple warning when tracker init failed

Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.

2 years agosearchengine: Add missing sanity check
Gaël Bonithon [Thu, 9 Feb 2023 18:25:04 +0000 (19:25 +0100)]
searchengine: Add missing sanity check

2 years agoUpdate Belarusian translation
Vasil Pupkin [Wed, 8 Feb 2023 21:48:28 +0000 (21:48 +0000)]
Update Belarusian translation

2 years agoMerge branch 'stop-testing-pixbuf-formats' into 'main'
Matthias Clasen [Tue, 7 Feb 2023 18:48:39 +0000 (18:48 +0000)]
Merge branch 'stop-testing-pixbuf-formats' into 'main'

Drop pixbuf format tests

See merge request GNOME/gtk!5486

2 years agoDrop pixbuf format tests
Matthias Clasen [Tue, 7 Feb 2023 12:54:22 +0000 (07:54 -0500)]
Drop pixbuf format tests

We have our own loaders for the formats we
always want to support, so we don't need to
check for what gdk-pixbuf supports.

2 years agoMerge branch 'file-dialog-fixes' into 'main'
Matthias Clasen [Tue, 7 Feb 2023 12:42:09 +0000 (12:42 +0000)]
Merge branch 'file-dialog-fixes' into 'main'

filedialog: Robustness fixes

See merge request GNOME/gtk!5485

2 years agofiledialog: Robustness fixes
Matthias Clasen [Mon, 6 Feb 2023 21:14:43 +0000 (22:14 +0100)]
filedialog: Robustness fixes

This code was not working well.

2 years agofilechooserportal: Fix an oversight
Matthias Clasen [Mon, 6 Feb 2023 19:03:45 +0000 (20:03 +0100)]
filechooserportal: Fix an oversight

2 years agoUpdate Turkish translation
Sabri Ünal [Mon, 6 Feb 2023 09:19:35 +0000 (09:19 +0000)]
Update Turkish translation

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 6 Feb 2023 06:53:14 +0000 (06:53 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

CONTRIBUTING: Updates

See merge request GNOME/gtk!5483

2 years agoCONTRIBUTING: Updates
Matthias Clasen [Mon, 6 Feb 2023 06:34:28 +0000 (07:34 +0100)]
CONTRIBUTING: Updates

Mention matrix instead of irc, and ask
for display/graphics as essential info
in issues.

2 years agoUpdate Polish translation
Piotr Drąg [Sun, 5 Feb 2023 14:22:00 +0000 (15:22 +0100)]
Update Polish translation

2 years agoMerge branch 'rename-openuri-portal' into 'main'
Matthias Clasen [Sun, 5 Feb 2023 08:27:09 +0000 (08:27 +0000)]
Merge branch 'rename-openuri-portal' into 'main'

Use a Gtk prefix for dbus-generated code

Closes #5572

See merge request GNOME/gtk!5482

2 years agoUse a Gtk prefix for dbus-generated code
Matthias Clasen [Sun, 5 Feb 2023 07:49:21 +0000 (08:49 +0100)]
Use a Gtk prefix for dbus-generated code

Copying this file from GIO without renaming it
was not the greatest idea in retrospect.

Fixes: #5572
2 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sat, 4 Feb 2023 16:28:15 +0000 (16:28 +0000)]
Update Chinese (Taiwan) translation

2 years agoPost-release version bump
Matthias Clasen [Sat, 4 Feb 2023 16:01:51 +0000 (17:01 +0100)]
Post-release version bump

2 years agomake-release: Explicily enable introspection
Matthias Clasen [Sat, 4 Feb 2023 15:31:55 +0000 (16:31 +0100)]
make-release: Explicily enable introspection

2 years ago4.9.3
Matthias Clasen [Sat, 4 Feb 2023 15:05:07 +0000 (16:05 +0100)]
4.9.3

2 years agoMerge branch 'wip/carlosg/scroll-fix' into 'main'
Matthias Clasen [Sat, 4 Feb 2023 13:14:02 +0000 (13:14 +0000)]
Merge branch 'wip/carlosg/scroll-fix' into 'main'

gdk/x11: Reset all scroll valuators on enter

Closes #4160

See merge request GNOME/gtk!5479

2 years agoMerge branch 'ebassi/stack-at-context' into 'main'
Matthias Clasen [Sat, 4 Feb 2023 12:37:20 +0000 (12:37 +0000)]
Merge branch 'ebassi/stack-at-context' into 'main'

a11y: Clear the GtkATContext in a single step

See merge request GNOME/gtk!5477

2 years agogdk/x11: Reset all scroll valuators on enter
Carlos Garnacho [Sat, 4 Feb 2023 12:10:42 +0000 (13:10 +0100)]
gdk/x11: Reset all scroll valuators on enter

We no longer need to make much distinction between multiple logical
devices, plus it breaks esp. with the Xwayland input device distribution.
Just iterate across all devices and reset their scroll valuators.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4160
2 years agoMerge branch 'wip/carlosg/wayland-device-refactor' into 'main'
Matthias Clasen [Sat, 4 Feb 2023 07:48:33 +0000 (07:48 +0000)]
Merge branch 'wip/carlosg/wayland-device-refactor' into 'main'

Refactor some wayland code

See merge request GNOME/gtk!5473

2 years agoMerge branch 'rgba-free-checked' into 'main'
Matthias Clasen [Sat, 4 Feb 2023 07:48:24 +0000 (07:48 +0000)]
Merge branch 'rgba-free-checked' into 'main'

gtktextview: Avoid calling gdk_rgba_free for NULL values

See merge request GNOME/gtk!5474

2 years agoMerge branch 'ebassi/accessible-editable' into 'main'
Matthias Clasen [Sat, 4 Feb 2023 07:47:36 +0000 (07:47 +0000)]
Merge branch 'ebassi/accessible-editable' into 'main'

a11y: Simplify GtkAccessible implementation for editables

See merge request GNOME/gtk!5475

2 years agoa11y: Clear the GtkATContext in a single step
Emmanuele Bassi [Fri, 3 Feb 2023 16:11:22 +0000 (17:11 +0100)]
a11y: Clear the GtkATContext in a single step

There's no need to unrealize the GtkATContext inside dispose() and then
drop its reference inside finalize().

2 years agogtktextview: Avoid calling gdk_rgba_free for NULL values
Marco Trevisan (Treviño) [Fri, 3 Feb 2023 15:41:56 +0000 (16:41 +0100)]
gtktextview: Avoid calling gdk_rgba_free for NULL values

Related to glib#2908

2 years agogdk/wayland: Rename gdkkeys-wayland.c file
Carlos Garnacho [Fri, 3 Feb 2023 15:13:37 +0000 (16:13 +0100)]
gdk/wayland: Rename gdkkeys-wayland.c file

Since it contains the GdkKeymap implementation, give it a more
obvious name.

2 years agogdk/wayland: "Split" GdkWaylandDevice implementation out
Carlos Garnacho [Fri, 3 Feb 2023 14:55:09 +0000 (15:55 +0100)]
gdk/wayland: "Split" GdkWaylandDevice implementation out

This is a bit spaghetti right now, since seats and devices were
heavily entangled there are a number of crossed private API calls that
should ideally not be there.

Let this be a first step, so more bits may move from the seat
implementation to devices.

2 years agogdk/wayland: Split GdkDevicePad wayland implementation
Carlos Garnacho [Thu, 2 Feb 2023 17:06:52 +0000 (18:06 +0100)]
gdk/wayland: Split GdkDevicePad wayland implementation

This now lives in its own C file.

2 years agoa11y: Simplify GtkAccessible implementation for editables
Lukáš Tyrychtr [Mon, 16 Jan 2023 10:39:41 +0000 (11:39 +0100)]
a11y: Simplify GtkAccessible implementation for editables

This commit implements the idea brought up in #5032, and provides a
simple function for GtkEditable implementations using a delegate object.
The accessible state is proxied from the outher GtkEditable to the
delegate.

2 years agogdk/wayland: Move struct declarations to header
Carlos Garnacho [Thu, 2 Feb 2023 17:03:29 +0000 (18:03 +0100)]
gdk/wayland: Move struct declarations to header

These will be used from outside the main file, after we are
done splitting it.

2 years agogdk/wayland: Move GdkWaylandDevice data to private struct
Carlos Garnacho [Thu, 2 Feb 2023 16:14:22 +0000 (17:14 +0100)]
gdk/wayland: Move GdkWaylandDevice data to private struct

Before splitting this object, avoid leaking details in its struct.

2 years agogdk/wayland: Rename gdkdevice-wayland.c to gdkseat-wayland.c
Carlos Garnacho [Thu, 2 Feb 2023 14:53:57 +0000 (15:53 +0100)]
gdk/wayland: Rename gdkdevice-wayland.c to gdkseat-wayland.c

This file, event though a clump of input-y objects, has more of
seats than anything else. Rename it so that we can start splitting
these objects out of it.

2 years agoMerge branch 'file-chooser-context-menu' into 'main'
Matthias Clasen [Fri, 3 Feb 2023 13:39:21 +0000 (13:39 +0000)]
Merge branch 'file-chooser-context-menu' into 'main'

filechooser: Fix context menus

Closes #5554

See merge request GNOME/gtk!5472

2 years agoMerge branch 'drag-icon-robustness' into 'main'
Matthias Clasen [Fri, 3 Feb 2023 13:19:26 +0000 (13:19 +0000)]
Merge branch 'drag-icon-robustness' into 'main'

dragicon: Handle files without info

See merge request GNOME/gtk!5460