gtk4.git
3 years agoMerge branch 'fix-color-dialog-button-new' into 'main'
Matthias Clasen [Mon, 7 Nov 2022 14:51:34 +0000 (14:51 +0000)]
Merge branch 'fix-color-dialog-button-new' into 'main'

colordialogbutton: Actually accept NULL

Closes #5321

See merge request GNOME/gtk!5202

3 years agoAdd a test for picker button constructors
Matthias Clasen [Mon, 7 Nov 2022 14:32:51 +0000 (15:32 +0100)]
Add a test for picker button constructors

This turns out to be hard enough that a test
is useful.

3 years agocolordialogbutton: Actually accept NULL
Matthias Clasen [Mon, 7 Nov 2022 14:24:13 +0000 (15:24 +0100)]
colordialogbutton: Actually accept NULL

As pointed out in #5321, my previous fix was not
good enough.

Fixes: #5321
3 years agoMerge branch 'fix-color-button-new' into 'main'
Matthias Clasen [Sun, 6 Nov 2022 13:36:49 +0000 (13:36 +0000)]
Merge branch 'fix-color-button-new' into 'main'

color/fontdialogbutton: Fix constructors

Closes #5321

See merge request GNOME/gtk!5199

3 years agocolor/fontdialogbutton: Fix constructors
Matthias Clasen [Sun, 6 Nov 2022 13:12:02 +0000 (14:12 +0100)]
color/fontdialogbutton: Fix constructors

The arguments were meant to be nullable.
Make it so!

Fixes: #5321
3 years agoUpdate Hungarian translation
Balázs Úr [Sat, 5 Nov 2022 22:21:06 +0000 (22:21 +0000)]
Update Hungarian translation

3 years agoUpdate Croatian translation
Goran Vidović [Sat, 5 Nov 2022 18:55:57 +0000 (18:55 +0000)]
Update Croatian translation

3 years agoMerge branch 'make-pot-update' into 'main'
Matthias Clasen [Sat, 5 Nov 2022 10:50:51 +0000 (10:50 +0000)]
Merge branch 'make-pot-update' into 'main'

Add new printf patterns to make-pot

See merge request GNOME/gtk!5197

3 years agoAdd new printf patterns to make-pot
Matthias Clasen [Tue, 1 Nov 2022 11:07:51 +0000 (07:07 -0400)]
Add new printf patterns to make-pot

This script is used to extract our strings for translators
on damn lines, and passing these flags to xgettext makes
it put a hint into the pot file about strings that are
used as printf format strings.

3 years agoMerge branch 'gdk-win32-settings-rework' into 'main'
Luca Bacci [Fri, 4 Nov 2022 16:00:25 +0000 (16:00 +0000)]
Merge branch 'gdk-win32-settings-rework' into 'main'

GdkWin32 settings rework

See merge request GNOME/gtk!5193

3 years agoGdkWin32: Add more GDK_NOTE calls for settings
Luca Bacci [Fri, 4 Nov 2022 15:11:27 +0000 (16:11 +0100)]
GdkWin32: Add more GDK_NOTE calls for settings

3 years agoGdkWin32: Set the "gtk-hint-font-metrics" property
Luca Bacci [Fri, 4 Nov 2022 14:59:15 +0000 (15:59 +0100)]
GdkWin32: Set the "gtk-hint-font-metrics" property

Helps for https://gitlab.gnome.org/GNOME/gtk/-/issues/5257

3 years agoGdkWin32: Set the "gtk-cursor-blink" setting
Luca Bacci [Fri, 4 Nov 2022 14:57:25 +0000 (15:57 +0100)]
GdkWin32: Set the "gtk-cursor-blink" setting

3 years agoGdkWin32: Set the "gtk-cursor-theme-size" setting
Luca Bacci [Fri, 4 Nov 2022 14:56:20 +0000 (15:56 +0100)]
GdkWin32: Set the "gtk-cursor-theme-size" setting

Note that we have to set the logical value, that's why
we use GetSystemMetrics and not GetSystemMetricsForDpi.

3 years agoGdkWin32: Detect the high contrast setting
Luca Bacci [Fri, 4 Nov 2022 14:54:02 +0000 (15:54 +0100)]
GdkWin32: Detect the high contrast setting

And set the theme name accordingly ("Default-hc")

3 years agoGdkWin32: Fix leak of screen HDC
Luca Bacci [Fri, 4 Nov 2022 14:38:29 +0000 (15:38 +0100)]
GdkWin32: Fix leak of screen HDC

3 years agoGdkWin32: Remove special-casing for old Pango versions
Luca Bacci [Fri, 4 Nov 2022 14:35:04 +0000 (15:35 +0100)]
GdkWin32: Remove special-casing for old Pango versions

We require Pango 1.50 now

3 years agoGdkWin32: Remove old code
Luca Bacci [Fri, 4 Nov 2022 14:31:40 +0000 (15:31 +0100)]
GdkWin32: Remove old code

3 years agoGdkWin32: Sort settings alphabetically
Luca Bacci [Fri, 4 Nov 2022 14:30:12 +0000 (15:30 +0100)]
GdkWin32: Sort settings alphabetically

3 years agoUpdate Turkish translation
Sabri Ünal [Wed, 2 Nov 2022 06:06:38 +0000 (06:06 +0000)]
Update Turkish translation

3 years agoUpdate Dutch translation
Nathan Follens [Tue, 1 Nov 2022 23:10:49 +0000 (23:10 +0000)]
Update Dutch translation

(cherry picked from commit 381c05607060c584779f9e6fab6f662ddfada1fa)

3 years agoPost-release version bump
Matthias Clasen [Tue, 1 Nov 2022 02:22:06 +0000 (22:22 -0400)]
Post-release version bump

3 years ago4.9.1
Matthias Clasen [Tue, 1 Nov 2022 02:07:15 +0000 (22:07 -0400)]
4.9.1

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Tue, 1 Nov 2022 01:09:51 +0000 (01:09 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Revert "modules: Fix build on Visual Studio"

See merge request GNOME/gtk!5187

3 years agogdk: Bump the jpeg malloc limit
Matthias Clasen [Tue, 1 Nov 2022 00:35:15 +0000 (20:35 -0400)]
gdk: Bump the jpeg malloc limit

Bump the limit for memory use during jpeg loading
to 1GB, matching what gdk-pixbuf has for this.

3 years agoRevert "modules: Fix build on Visual Studio"
Matthias Clasen [Tue, 1 Nov 2022 00:18:12 +0000 (20:18 -0400)]
Revert "modules: Fix build on Visual Studio"

This reverts commit acd9c12667a021936b30e0fa8f43d3a8c7133cf7.

This commit breaks the build with GLib main on all platforms,
and defining _GLIB_EXTERN arguably invades the GLib namespace.

A different fix for msvc will have to be found.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 31 Oct 2022 21:15:10 +0000 (21:15 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Be consistent in preconditions for async API

See merge request GNOME/gtk!5186

3 years agoBe consistent in preconditions for async API
Matthias Clasen [Mon, 31 Oct 2022 19:33:48 +0000 (15:33 -0400)]
Be consistent in preconditions for async API

Do the same checks in all our finish functions.

3 years agoUpdate Russian translation
Aleksandr Melman [Mon, 31 Oct 2022 12:30:25 +0000 (12:30 +0000)]
Update Russian translation

3 years agoMerge branch 'ebassi/since-for-main' into 'main'
Matthias Clasen [Sun, 30 Oct 2022 23:22:19 +0000 (23:22 +0000)]
Merge branch 'ebassi/since-for-main' into 'main'

Ebassi/since for main

See merge request GNOME/gtk!5185

3 years agodocs: Add missing Deprecated annotations
Emmanuele Bassi [Sun, 30 Oct 2022 20:08:39 +0000 (20:08 +0000)]
docs: Add missing Deprecated annotations

3 years agodocs: Add missing Since annotations
Emmanuele Bassi [Sun, 30 Oct 2022 20:08:21 +0000 (20:08 +0000)]
docs: Add missing Since annotations

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 30 Oct 2022 13:29:35 +0000 (13:29 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

alertdialog: Small refactoring

See merge request GNOME/gtk!5184

3 years agoAdd a test for POTFILES.in
Matthias Clasen [Sun, 30 Oct 2022 12:42:08 +0000 (08:42 -0400)]
Add a test for POTFILES.in

Add a test that runs make-pot. This will only pass
if you've updated po/POTFILES.in and .skip after
moving source files around.

Unfortunately, it won't catch new source files that
are missing.

3 years agoalertdialog: Small refactoring
Matthias Clasen [Sat, 29 Oct 2022 23:17:37 +0000 (19:17 -0400)]
alertdialog: Small refactoring

Move the deprecated code out into its own function.

3 years agoUpdate POTFILES.in
Piotr Drąg [Sun, 30 Oct 2022 11:34:21 +0000 (12:34 +0100)]
Update POTFILES.in

3 years agoMerge branch 'deprecate-gtkdialog2' into 'main'
Matthias Clasen [Sat, 29 Oct 2022 20:39:18 +0000 (20:39 +0000)]
Merge branch 'deprecate-gtkdialog2' into 'main'

Deprecate GtkDialog

See merge request GNOME/gtk!5182

3 years agoDeprecate GtkDialog
Matthias Clasen [Sat, 29 Oct 2022 17:53:47 +0000 (13:53 -0400)]
Deprecate GtkDialog

GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 29 Oct 2022 19:22:50 +0000 (19:22 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Docs updates

See merge request GNOME/gtk!5180

3 years agoUpdate docs
Matthias Clasen [Sat, 29 Oct 2022 18:13:56 +0000 (14:13 -0400)]
Update docs

Mention new deprecations in the future migration guide.

3 years agoMerge branch 'async-dialog-api2' into 'main'
Matthias Clasen [Sat, 29 Oct 2022 17:52:13 +0000 (17:52 +0000)]
Merge branch 'async-dialog-api2' into 'main'

Add new async APIs to replace chooser dialogs

See merge request GNOME/gtk!5174

3 years agoNEWS: Updates
Matthias Clasen [Sat, 29 Oct 2022 16:06:26 +0000 (12:06 -0400)]
NEWS: Updates

3 years agoDeprecate GtkFileChooser and implementations
Matthias Clasen [Sat, 29 Oct 2022 15:31:35 +0000 (11:31 -0400)]
Deprecate GtkFileChooser and implementations

These are being replaced by GtkFileDialog.

This commit only moves the headers for GtkFileChooserWidget and
GtkFileChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFileChooserWindow.

3 years agoDeprecate GtkMessageDialog
Matthias Clasen [Sat, 29 Oct 2022 14:36:29 +0000 (10:36 -0400)]
Deprecate GtkMessageDialog

It is getting replaced by GtkAlertDialog

This commit only moves the header to deprecated/,
and keeps the implementation in gtk/, since it will
eventually be salvaged into a private, dialog-free
widget.

3 years agoDeprecate GtkFontChooser and implementations
Matthias Clasen [Thu, 27 Oct 2022 02:58:21 +0000 (22:58 -0400)]
Deprecate GtkFontChooser and implementations

These are being replaced by GtkFontDialog
and GtkFontDialogButton

This commit only moves the headers for GtkFontChooserWidget and
GtkFontChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFontChooserWindow.

3 years agoDeprecate GtkColorChooser and implementations
Matthias Clasen [Thu, 27 Oct 2022 01:52:06 +0000 (21:52 -0400)]
Deprecate GtkColorChooser and implementations

These are being replaced by GtkColorDialog
and GtkColorDialogButton.

This commit only moves the headers for GtkColorChooserWidget
and GtkColorChooserDialog to deprecated/, and keeps the
implementations in gtk/, since they will eventually be
salvaged into a private GtkColorChooserWindow.

3 years agoexamples: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 03:07:12 +0000 (23:07 -0400)]
examples: Port to async dialog API

3 years agoprint-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 02:42:32 +0000 (22:42 -0400)]
print-editor: Port to async dialog API

3 years agonode-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:43:37 +0000 (20:43 -0400)]
node-editor: Port to async dialog API

3 years agoconstraint-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:24:53 +0000 (20:24 -0400)]
constraint-editor: Port to async dialog API

3 years agowidget-factory: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:16:21 +0000 (20:16 -0400)]
widget-factory: Port to async dialog API

3 years agogtk-demo: Port to async dialog API
Matthias Clasen [Fri, 28 Oct 2022 15:38:57 +0000 (11:38 -0400)]
gtk-demo: Port to async dialog API

3 years agogtk-demo: Rewrite the pickers demo
Matthias Clasen [Wed, 26 Oct 2022 17:38:22 +0000 (13:38 -0400)]
gtk-demo: Rewrite the pickers demo

This needs some more work. For now, just have
very simple test cases for some of the new async
APIs.

3 years agoinspector: Port to async dialog API
Matthias Clasen [Fri, 28 Oct 2022 14:00:37 +0000 (10:00 -0400)]
inspector: Port to async dialog API

3 years agogtk: Port to async dialog API
Matthias Clasen [Fri, 28 Oct 2022 15:32:55 +0000 (11:32 -0400)]
gtk: Port to async dialog API

3 years agoAdd GtkFileDialog
Matthias Clasen [Mon, 24 Oct 2022 10:54:01 +0000 (06:54 -0400)]
Add GtkFileDialog

Add an async API for picking a file, together with
a builder object for it. This is meant to replace direct
use of GtkFileChooserDialog.

3 years agoAdd GtkAlertDialog
Matthias Clasen [Tue, 25 Oct 2022 04:12:28 +0000 (00:12 -0400)]
Add GtkAlertDialog

This is replacing GtkMessageDialog with an
async API for showing informational messages.

3 years agoAdd GtkFontDialogButton
Matthias Clasen [Tue, 25 Oct 2022 03:09:02 +0000 (23:09 -0400)]
Add GtkFontDialogButton

This is like GtkColorDialogButton, but for fonts.

3 years agoAdd GtkFontDialog
Matthias Clasen [Mon, 24 Oct 2022 03:21:41 +0000 (23:21 -0400)]
Add GtkFontDialog

This is similar to GtkColorDialog, but for fonts.

3 years agoAdd GtkColorDialogButton
Matthias Clasen [Mon, 24 Oct 2022 19:42:52 +0000 (15:42 -0400)]
Add GtkColorDialogButton

This is a new color button implementation
built around GtkColorDialog.

3 years agoAdd GtkColorDialog
Matthias Clasen [Mon, 24 Oct 2022 19:41:43 +0000 (15:41 -0400)]
Add GtkColorDialog

Add an async API for picking a color, together with
a builder object for it. This is meant to replace direct
use of GtkColorChooserDialog.

3 years agoAdd GtkDialogError
Matthias Clasen [Thu, 27 Oct 2022 01:27:24 +0000 (21:27 -0400)]
Add GtkDialogError

This error domain will be used by async apis
in future commits.

3 years agofontchooser: Add a way to set a GtkFilter
Matthias Clasen [Sat, 29 Oct 2022 03:58:50 +0000 (23:58 -0400)]
fontchooser: Add a way to set a GtkFilter

We keep this private, since the chooser apis
are going away. This will be used in GtkFontDialog.

3 years agomessagedialog: Cosmetics
Matthias Clasen [Fri, 28 Oct 2022 19:24:23 +0000 (15:24 -0400)]
messagedialog: Cosmetics

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 29 Oct 2022 02:08:19 +0000 (02:08 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

ci: Try to fix the macos build

See merge request GNOME/gtk!5179

3 years agoci: Require macos to build again
Matthias Clasen [Sat, 29 Oct 2022 01:38:14 +0000 (21:38 -0400)]
ci: Require macos to build again

3 years agoci: Try to fix the macos build
Matthias Clasen [Sat, 29 Oct 2022 01:03:56 +0000 (21:03 -0400)]
ci: Try to fix the macos build

It seems that libjpeg-turbo first finds nasm,
and then doesn't find it. Turn off simd to keep
it from looking for it in the first place.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Fri, 28 Oct 2022 23:41:03 +0000 (23:41 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

printeroptionwidget: Drop unused include

See merge request GNOME/gtk!5178

3 years agoprinteroptionwidget: Drop unused include
Matthias Clasen [Fri, 28 Oct 2022 15:03:36 +0000 (11:03 -0400)]
printeroptionwidget: Drop unused include

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Fri, 28 Oct 2022 16:20:18 +0000 (16:20 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gtk4-demo: Avoid a critical from a11y code

See merge request GNOME/gtk!5177

3 years agogtk4-demo: Avoid a critical from a11y code
Matthias Clasen [Fri, 28 Oct 2022 15:59:35 +0000 (11:59 -0400)]
gtk4-demo: Avoid a critical from a11y code

Even though we want to be accessible,
we must not divide by zero.

3 years agoMerge branch 'bilelmoussaoui/file-chooser-gi' into 'main'
Emmanuele Bassi [Thu, 27 Oct 2022 17:06:22 +0000 (17:06 +0000)]
Merge branch 'bilelmoussaoui/file-chooser-gi' into 'main'

g-i: Add missing since annotation

See merge request GNOME/gtk!5175

3 years agog-i: Add missing since annotation
Bilal Elmoussaoui [Thu, 27 Oct 2022 15:38:14 +0000 (15:38 +0000)]
g-i: Add missing since annotation

3 years agoMerge branch 'revert-9c919ffa462dd4511da0bfd19d36d2e15c51651b-main' into 'main'
Matthias Clasen [Wed, 26 Oct 2022 18:22:43 +0000 (18:22 +0000)]
Merge branch 'revert-9c919ffa462dd4511da0bfd19d36d2e15c51651b-main' into 'main'

Revert "treepopover: Do not propagate natural width of content"

See merge request GNOME/gtk!5171

3 years agoRevert "treepopover: Do not propagate natural width of content"
Mat [Wed, 26 Oct 2022 10:58:10 +0000 (13:58 +0300)]
Revert "treepopover: Do not propagate natural width of content"

This reverts commit 9c919ffa462dd4511da0bfd19d36d2e15c51651b.

3 years agoMerge branch 'ebassi/glade-docs' into 'main'
Matthias Clasen [Tue, 25 Oct 2022 00:39:57 +0000 (00:39 +0000)]
Merge branch 'ebassi/glade-docs' into 'main'

docs: Remove mentions of Glade

See merge request GNOME/gtk!5168

3 years agodocs: Remove mentions of Glade
Emmanuele Bassi [Mon, 24 Oct 2022 19:04:03 +0000 (20:04 +0100)]
docs: Remove mentions of Glade

Glade does not support GTK4, so we should not link to it when discussing
developing GTK4 applications.

3 years agoUpdate Serbian translation
Мирослав Николић [Sun, 23 Oct 2022 09:21:30 +0000 (09:21 +0000)]
Update Serbian translation

(cherry picked from commit b760f57ae1323669348b6bc84c384d24f4b381ff)

3 years agoMerge branch 'deprecation-cleanups' into 'main'
Matthias Clasen [Sat, 22 Oct 2022 19:23:45 +0000 (19:23 +0000)]
Merge branch 'deprecation-cleanups' into 'main'

gtk-demo: Replace combo boxes in font features

See merge request GNOME/gtk!5164

3 years agogtk-demo: Use global style in font_features
Matthias Clasen [Sat, 22 Oct 2022 15:38:46 +0000 (11:38 -0400)]
gtk-demo: Use global style in font_features

3 years agogtk-demo: Replace combo boxes in font features
Matthias Clasen [Sat, 22 Oct 2022 14:11:28 +0000 (10:11 -0400)]
gtk-demo: Replace combo boxes in font features

This is a slightly more complicated combo box,
so we need an auxiliary object.

3 years agoMerge branch 'deprecation-cleanups' into 'main'
Matthias Clasen [Sat, 22 Oct 2022 02:32:23 +0000 (02:32 +0000)]
Merge branch 'deprecation-cleanups' into 'main'

gtk-demo: Remove deprecations from dnd

See merge request GNOME/gtk!5160

3 years agobloatpad: Stop using a combobox
Matthias Clasen [Sat, 22 Oct 2022 02:03:17 +0000 (22:03 -0400)]
bloatpad: Stop using a combobox

Replace GtkComboBoxText with GtkDropDown+GtkStringList.

3 years agofontchooser: Stop using deprecated harfbuzz api
Matthias Clasen [Sat, 22 Oct 2022 01:54:38 +0000 (21:54 -0400)]
fontchooser: Stop using deprecated harfbuzz api

The replacement is very straightforward.

3 years agogtk-demo: Replace combobox in font rendering
Matthias Clasen [Sat, 22 Oct 2022 01:24:48 +0000 (21:24 -0400)]
gtk-demo: Replace combobox in font rendering

Out with the combobox, in with the dropdown.

3 years agoplacesview: Drop deprecation guards
Matthias Clasen [Sat, 22 Oct 2022 01:11:46 +0000 (21:11 -0400)]
placesview: Drop deprecation guards

We got rid of all deprecated api here.

3 years agofilechooserwidget: Drop deprecation guards
Matthias Clasen [Sat, 22 Oct 2022 01:10:39 +0000 (21:10 -0400)]
filechooserwidget: Drop deprecation guards

We got rid of all deprecated api here.

3 years agofilesystemmodel: Drop outdated comments
Matthias Clasen [Sat, 22 Oct 2022 01:09:24 +0000 (21:09 -0400)]
filesystemmodel: Drop outdated comments

Drop a long comment describing an implementation
that no longer exists.

3 years agofilesystemmodel: Drop unneded deprecation guards
Matthias Clasen [Sat, 22 Oct 2022 01:08:27 +0000 (21:08 -0400)]
filesystemmodel: Drop unneded deprecation guards

Nothing deprecated is used here anymore.

3 years agosearchenginemodel: Drop unneeded deprecation guards
Matthias Clasen [Sat, 22 Oct 2022 01:05:03 +0000 (21:05 -0400)]
searchenginemodel: Drop unneeded deprecation guards

Nothing deprecated is used here anymore.

3 years agogtk-demo: Remove deprecations from characters
Matthias Clasen [Sat, 22 Oct 2022 00:58:26 +0000 (20:58 -0400)]
gtk-demo: Remove deprecations from characters

Make the characters demo use global style providers.

3 years agogtk-demo: Remove deprecations from sizegroup demo
Matthias Clasen [Sat, 22 Oct 2022 00:49:38 +0000 (20:49 -0400)]
gtk-demo: Remove deprecations from sizegroup demo

Out with the comboboxes, in with the dropdowns.

3 years agogtk-demo: Remove deprecation from textview demo
Matthias Clasen [Fri, 21 Oct 2022 19:48:01 +0000 (15:48 -0400)]
gtk-demo: Remove deprecation from textview demo

Use a dropdown instead of a combobox for the widget
embedding. It's better!

3 years agogtk-demo: Remove deprecations from gltransitions
Matthias Clasen [Fri, 21 Oct 2022 19:18:10 +0000 (15:18 -0400)]
gtk-demo: Remove deprecations from gltransitions

Make the GL transitions demo use global style providers.

3 years agogtk-demo: Remove deprecations from solitaire
Matthias Clasen [Fri, 21 Oct 2022 18:41:59 +0000 (14:41 -0400)]
gtk-demo: Remove deprecations from solitaire

Make the solitaire game use global style providers.

3 years agogtk=demo: Drop unneeded deprecation guards
Matthias Clasen [Fri, 21 Oct 2022 18:29:38 +0000 (14:29 -0400)]
gtk=demo: Drop unneeded deprecation guards

Nothing deprecated in the pixbuf paintable demo.

3 years agogtk-demo: Remove deprecations from dnd
Matthias Clasen [Fri, 21 Oct 2022 18:16:38 +0000 (14:16 -0400)]
gtk-demo: Remove deprecations from dnd

Make the dnd demo use global style providers.

3 years agoMerge branch 'wip/corey/file-chooser-popup' into 'main'
Matthias Clasen [Sat, 22 Oct 2022 00:36:26 +0000 (00:36 +0000)]
Merge branch 'wip/corey/file-chooser-popup' into 'main'

filechooserwidget: Fix popup issues

See merge request GNOME/gtk!5161

3 years agofilechooserwidget: Show popup when clicking on empty space
Corey Berla [Fri, 21 Oct 2022 20:55:10 +0000 (13:55 -0700)]
filechooserwidget: Show popup when clicking on empty space

Add gesture to right click or long press in the empty space
in the FileChooserWidget.  Only show the global settings when
clicking on the empty space.

3 years agofilechoosercell: Select item when right click or long press
Corey Berla [Fri, 21 Oct 2022 20:53:49 +0000 (13:53 -0700)]
filechoosercell: Select item when right click or long press