gtk4.git
5 years agolabel: Remove menu support code
Matthias Clasen [Fri, 27 Dec 2019 13:46:56 +0000 (08:46 -0500)]
label: Remove menu support code

5 years agotests: Stop using menus
Matthias Clasen [Fri, 27 Dec 2019 04:16:53 +0000 (23:16 -0500)]
tests: Stop using menus

5 years agotestsuite: Remove menu special-casing
Matthias Clasen [Fri, 27 Dec 2019 13:48:55 +0000 (08:48 -0500)]
testsuite: Remove menu special-casing

5 years agotestsuite: Remove menu tests
Matthias Clasen [Fri, 27 Dec 2019 03:59:38 +0000 (22:59 -0500)]
testsuite: Remove menu tests

Menus are going away.

5 years agotestsuite: Cosmetic change
Matthias Clasen [Fri, 27 Dec 2019 03:59:05 +0000 (22:59 -0500)]
testsuite: Cosmetic change

5 years agomenubutton: Stop supporting menus
Matthias Clasen [Fri, 27 Dec 2019 03:41:47 +0000 (22:41 -0500)]
menubutton: Stop supporting menus

5 years agoheaderbar: Stop using GtkMenuButton::use-popover
Matthias Clasen [Fri, 27 Dec 2019 03:07:20 +0000 (22:07 -0500)]
headerbar: Stop using GtkMenuButton::use-popover

This property is going away.

5 years agomenutoolbutton: Stop supporting menus
Matthias Clasen [Fri, 27 Dec 2019 03:41:19 +0000 (22:41 -0500)]
menutoolbutton: Stop supporting menus

5 years agomenutoolbutton: Fix sensitivity handling
Matthias Clasen [Fri, 27 Dec 2019 06:46:04 +0000 (01:46 -0500)]
menutoolbutton: Fix sensitivity handling

We don't need to set the arrow button explicitly
to insensitive, GtkMenuButton handles that automatically.

5 years agotoolbar: Simplify overflow implementation
Matthias Clasen [Fri, 27 Dec 2019 06:32:27 +0000 (01:32 -0500)]
toolbar: Simplify overflow implementation

Do away with the proxy menu items, and instead
just have toolitems provide a label for overflow
items. We create the overflow widgets ourselves
already, as model buttons.
Also replace the toggle button used for overflow
with a menubutton, simplifying things further.

5 years agotestsuite: Update combobox tests
Matthias Clasen [Sun, 29 Dec 2019 22:07:41 +0000 (17:07 -0500)]
testsuite: Update combobox tests

Some of the expected output needs to be updated.

5 years agocombobox: Replace GtkTreeMenu with a popover
Matthias Clasen [Thu, 26 Dec 2019 05:06:48 +0000 (00:06 -0500)]
combobox: Replace GtkTreeMenu with a popover

This does not currently try to reproduce the exact
placement, since GtkPopover doesn't have to have
the necessary placement hints.

5 years agogtk-demo: Remove the change display demo
Matthias Clasen [Sat, 28 Dec 2019 16:02:49 +0000 (11:02 -0500)]
gtk-demo: Remove the change display demo

The window picking code has been broken for a while.
Since this is not really functionality that we should
highlight to application developers, remove the demo
instead of patching it up.

5 years agogtk-demo: Convert the builder demo to a menu model
Matthias Clasen [Sat, 28 Dec 2019 15:57:43 +0000 (10:57 -0500)]
gtk-demo: Convert the builder demo to a menu model

5 years agogtk-demo: Remove menus from listbox demo
Matthias Clasen [Sat, 28 Dec 2019 15:12:51 +0000 (10:12 -0500)]
gtk-demo: Remove menus from listbox demo

5 years agogtk-demo: Cosmetics
Matthias Clasen [Sat, 28 Dec 2019 14:47:23 +0000 (09:47 -0500)]
gtk-demo: Cosmetics

5 years agogtk-demo: Remove the menus demo
Matthias Clasen [Fri, 27 Dec 2019 03:58:37 +0000 (22:58 -0500)]
gtk-demo: Remove the menus demo

Menus are going away.

5 years agogtk-demo: Convert the dnd demo to a popover
Matthias Clasen [Fri, 27 Dec 2019 03:30:23 +0000 (22:30 -0500)]
gtk-demo: Convert the dnd demo to a popover

5 years agogtk-demo: Remove a somewhat silly bit of code
Matthias Clasen [Fri, 27 Dec 2019 03:04:23 +0000 (22:04 -0500)]
gtk-demo: Remove a somewhat silly bit of code

Putting a context menu on an overlay scrollbar
is too much of an easter egg to count as a useful
demo. Remove it, rather than changing it to a
popover.

5 years agogtk-demo: Use a popover in the clipboard demo
Matthias Clasen [Fri, 27 Dec 2019 03:03:52 +0000 (22:03 -0500)]
gtk-demo: Use a popover in the clipboard demo

5 years agogtk-demo: Replace a menu with a popover
Matthias Clasen [Fri, 27 Dec 2019 02:06:56 +0000 (21:06 -0500)]
gtk-demo: Replace a menu with a popover

5 years agoaccellabel: Remove an example using menus
Matthias Clasen [Fri, 27 Dec 2019 03:08:05 +0000 (22:08 -0500)]
accellabel: Remove an example using menus

5 years agodocs: Avoid using a menu for an example
Matthias Clasen [Fri, 27 Dec 2019 03:06:20 +0000 (22:06 -0500)]
docs: Avoid using a menu for an example

5 years agodocs: Remove menubars from the visual index
Matthias Clasen [Sat, 28 Dec 2019 14:43:46 +0000 (09:43 -0500)]
docs: Remove menubars from the visual index

5 years agodocs: Stop taking menubar screenshots
Matthias Clasen [Fri, 27 Dec 2019 04:49:50 +0000 (23:49 -0500)]
docs: Stop taking menubar screenshots

The widget is going away.

5 years agowidget-factory: Remove the menubar
Matthias Clasen [Fri, 27 Dec 2019 13:45:47 +0000 (08:45 -0500)]
widget-factory: Remove the menubar

5 years agowindow: Move F10 handling to popover menubars
Matthias Clasen [Fri, 27 Dec 2019 13:45:21 +0000 (08:45 -0500)]
window: Move F10 handling to popover menubars

5 years agoapplicationwindow: Stop using a menu bar
Matthias Clasen [Fri, 27 Dec 2019 04:49:26 +0000 (23:49 -0500)]
applicationwindow: Stop using a menu bar

We have a replacement with popovers now.

5 years agonotebook: Remove menu remnants
Matthias Clasen [Fri, 27 Dec 2019 13:47:12 +0000 (08:47 -0500)]
notebook: Remove menu remnants

5 years agoappchooserwidget: Remove ::populate-popup
Matthias Clasen [Thu, 26 Dec 2019 15:06:08 +0000 (10:06 -0500)]
appchooserwidget: Remove ::populate-popup

We are no longer doing menus this way; if a menu turns out to be
needed at all here, we can add a menu model later.

5 years agoplacesview: Use a popover
Matthias Clasen [Fri, 27 Dec 2019 01:10:34 +0000 (20:10 -0500)]
placesview: Use a popover

Replace the context menu with a popover.

5 years agomountoperation: Use a popover
Matthias Clasen [Thu, 26 Dec 2019 18:09:04 +0000 (13:09 -0500)]
mountoperation: Use a popover

Replace the context menu with a popover.

5 years agofilechooserbutton: Be smarter about 'None'
Matthias Clasen [Thu, 26 Dec 2019 14:29:36 +0000 (09:29 -0500)]
filechooserbutton: Be smarter about 'None'

Don't refilter the model while the combo box is popped up,
that wreaks havoc with layout and does not really work.
Instead, repurpose one of the separator rows for the 'none'
case. This works because the row separator function is not
consulted for the cellview in the button.

5 years agowindow: Complete the popover conversion
Matthias Clasen [Sat, 28 Dec 2019 05:08:29 +0000 (00:08 -0500)]
window: Complete the popover conversion

5 years agopopovermenubar: Cosmetics
Matthias Clasen [Sat, 28 Dec 2019 14:42:43 +0000 (09:42 -0500)]
popovermenubar: Cosmetics

5 years agopopovermenu: Use a weak ref for active item
Matthias Clasen [Fri, 27 Dec 2019 06:31:25 +0000 (01:31 -0500)]
popovermenu: Use a weak ref for active item

Otherwise, we can end up with a dangling pointer,
leading to badness.

5 years agosurface: Only unpause events if we paused them
Matthias Clasen [Sun, 29 Dec 2019 18:31:36 +0000 (13:31 -0500)]
surface: Only unpause events if we paused them

When a new popup surface is created, it may end up
getting a resume-events signal from its frame clock
without having seen a flush-events first.

Don't unpause events in that case, since it messes
up the displays pause counter.

This was causing criticals with tooltips.

5 years agoRevert unintended changes
Matthias Clasen [Sun, 29 Dec 2019 17:49:17 +0000 (12:49 -0500)]
Revert unintended changes

I didn't mean to make this a complicated
portal test. Go back to being a simple test.

5 years agoRemove more mir remnants
Matthias Clasen [Sun, 29 Dec 2019 02:52:34 +0000 (21:52 -0500)]
Remove more mir remnants

The mir backend was removed a while ago, so
GDK_WINDOWING_MIR is never defined.

5 years agotooltip: Remove some unneeded includes
Matthias Clasen [Sun, 29 Dec 2019 02:49:09 +0000 (21:49 -0500)]
tooltip: Remove some unneeded includes

5 years agopopover: Remove some dead code
Matthias Clasen [Sun, 29 Dec 2019 02:04:42 +0000 (21:04 -0500)]
popover: Remove some dead code

5 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 28 Dec 2019 16:18:53 +0000 (18:18 +0200)]
Updated Lithuanian translation

5 years agopopovermenu: Fix keynav with submenus
Matthias Clasen [Sat, 28 Dec 2019 03:52:08 +0000 (22:52 -0500)]
popovermenu: Fix keynav with submenus

When we right-arrow all the way into a submenu
and then cycle to the next menu in a menubar,
we need to reset all open submenus, so that
left-arrowing back to the menu puts the focus
on the first item again.

5 years agomodelbutton: Be focusable
Matthias Clasen [Sat, 28 Dec 2019 02:58:54 +0000 (21:58 -0500)]
modelbutton: Be focusable

This got lost when modelbuttons stopped being
derived from buttons. It is necessary, since
the GTK focus machinery takes this flag seriously
nowadays, and won't let us grab focus to non-focusable
widgets.

5 years agoinspector: Add a focus overlay
Matthias Clasen [Fri, 27 Dec 2019 17:16:14 +0000 (12:16 -0500)]
inspector: Add a focus overlay

It helps to see what is going on.

5 years agoUpdate Galician translation
Fran Dieguez [Fri, 27 Dec 2019 14:42:53 +0000 (14:42 +0000)]
Update Galician translation

5 years agoFixes to Catalan translation
Jordi Mas [Fri, 27 Dec 2019 13:06:32 +0000 (14:06 +0100)]
Fixes to Catalan translation

5 years agoUpdate Polish translation
Piotr Drąg [Wed, 25 Dec 2019 15:36:41 +0000 (16:36 +0100)]
Update Polish translation

5 years agowidget: Fix a memory leak
Matthias Clasen [Wed, 25 Dec 2019 05:40:32 +0000 (00:40 -0500)]
widget: Fix a memory leak

The transform passed to gtk_widget_allocate is
transfer full, so we must consume the reference
before returning.

5 years agowidget: Avoid a crash in event handling
Matthias Clasen [Wed, 25 Dec 2019 01:06:57 +0000 (20:06 -0500)]
widget: Avoid a crash in event handling

I was seeing crashes in gtk_widget_run_controllers.
We were accessing the controller after calling out
to application code that might remove it. Better
be safe and do the access before.

5 years agoinspector: Fix a small memory leak
Matthias Clasen [Wed, 25 Dec 2019 00:42:14 +0000 (19:42 -0500)]
inspector: Fix a small memory leak

We were leaking overlays.

5 years agoinspector: Fix a small memory leak
Matthias Clasen [Wed, 25 Dec 2019 00:40:50 +0000 (19:40 -0500)]
inspector: Fix a small memory leak

The property editor was leaking a few GValues.

5 years agoinspector: Small cleanup
Matthias Clasen [Wed, 25 Dec 2019 00:40:19 +0000 (19:40 -0500)]
inspector: Small cleanup

5 years agowidget: Fix a small memory leak
Matthias Clasen [Wed, 25 Dec 2019 00:39:37 +0000 (19:39 -0500)]
widget: Fix a small memory leak

5 years agoeventcontroller: Fix name property
Matthias Clasen [Wed, 25 Dec 2019 00:39:10 +0000 (19:39 -0500)]
eventcontroller: Fix name property

This never worked. Oops.

5 years agotestfilechooser: Test the choice apis
Matthias Clasen [Sun, 22 Dec 2019 01:57:28 +0000 (20:57 -0500)]
testfilechooser: Test the choice apis

5 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Dec 2019 04:05:00 +0000 (04:05 +0000)]
Update Galician translation

5 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Dec 2019 03:16:43 +0000 (03:16 +0000)]
Update Galician translation

5 years agoMerge branch 'print-dialog-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 17:41:38 +0000 (17:41 +0000)]
Merge branch 'print-dialog-fixes' into 'master'

Print dialog fixes

See merge request GNOME/gtk!1268

5 years agoAdwaita: update the README
Matthias Clasen [Tue, 24 Dec 2019 17:29:38 +0000 (12:29 -0500)]
Adwaita: update the README

5 years agoHighContrast: print dialog fixes
Matthias Clasen [Tue, 24 Dec 2019 17:29:16 +0000 (12:29 -0500)]
HighContrast: print dialog fixes

Fix up the paper drawing.

5 years agoAdwaita: print dialog tweaks
Matthias Clasen [Tue, 24 Dec 2019 17:28:45 +0000 (12:28 -0500)]
Adwaita: print dialog tweaks

Fix up the paper drawing.

5 years agoprint dialog: Fix up page drawing
Matthias Clasen [Tue, 24 Dec 2019 17:28:00 +0000 (12:28 -0500)]
print dialog: Fix up page drawing

This fixes up page drawing enough to appear properly
with the builtin themes.

5 years agoMerge branch 'widget-factory-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 15:08:15 +0000 (15:08 +0000)]
Merge branch 'widget-factory-fixes' into 'master'

Widget factory fixes

See merge request GNOME/gtk!1267

5 years agowidgetfactory: Undo more builder-tool damage
Matthias Clasen [Tue, 24 Dec 2019 14:59:23 +0000 (09:59 -0500)]
widgetfactory: Undo more builder-tool damage

The two volume buttons are supposed to be
vertically arranged.

5 years agoFix the build
Matthias Clasen [Tue, 24 Dec 2019 14:58:56 +0000 (09:58 -0500)]
Fix the build

5 years agoMerge branch 'gtk-demo-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 08:47:28 +0000 (08:47 +0000)]
Merge branch 'gtk-demo-fixes' into 'master'

Gtk demo fixes

See merge request GNOME/gtk!1266

5 years agotreeview: Fix embedding cell renderers
Matthias Clasen [Tue, 24 Dec 2019 08:39:02 +0000 (03:39 -0500)]
treeview: Fix embedding cell renderers

We need to manually set up the css node,
since the treeview has children whose css
node is not a direct child of the treeview
css node (header buttons).

5 years agocell renderer spin: Bring this back
Matthias Clasen [Tue, 24 Dec 2019 08:33:02 +0000 (03:33 -0500)]
cell renderer spin: Bring this back

GtkSpinButton lost its cell editable implementation
when it stopped being a GtkEntry subclass. Add it
back, and make it work.

5 years agocell renderer text: Fix this to work again
Matthias Clasen [Tue, 24 Dec 2019 08:13:58 +0000 (03:13 -0500)]
cell renderer text: Fix this to work again

We were showing the entry, and removing it right
away when the focus moved to the text child.
Avoid that.

5 years agopaper dialog: Make this look less horrible
Matthias Clasen [Tue, 24 Dec 2019 08:12:30 +0000 (03:12 -0500)]
paper dialog: Make this look less horrible

5 years agoaccelgroup: Fix a buffer overrun
Matthias Clasen [Tue, 24 Dec 2019 04:17:29 +0000 (23:17 -0500)]
accelgroup: Fix a buffer overrun

gtk_accelerator_parse_with_keycode can
overrun its buffer for certain inputs.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2325
5 years agoMerge branch 'drop-GtkTreeViewPrivate' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:49:48 +0000 (03:49 +0000)]
Merge branch 'drop-GtkTreeViewPrivate' into 'master'

tree-view: Drop GtkTreeViewPrivate

See merge request GNOME/gtk!1240

5 years agoMerge branch 'drop-gtk-tree-selection-private' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:48:18 +0000 (03:48 +0000)]
Merge branch 'drop-gtk-tree-selection-private' into 'master'

tree-selection: Drop GtkTreeSelectionPrivate

See merge request GNOME/gtk!1256

5 years agoMerge branch 'wip/oholy/placesview-default-location' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:47:15 +0000 (03:47 +0000)]
Merge branch 'wip/oholy/placesview-default-location' into 'master'

placesview: Always open default location after mounting

See merge request GNOME/gtk!1263

5 years agogtk-demo: Fix font explore initial state
Matthias Clasen [Tue, 24 Dec 2019 03:35:44 +0000 (22:35 -0500)]
gtk-demo: Fix font explore initial state

5 years agogtk-demo: Fix a crash in the font explorer demo
Matthias Clasen [Tue, 24 Dec 2019 03:33:02 +0000 (22:33 -0500)]
gtk-demo: Fix a crash in the font explorer demo

gtk_widget_add_controller is transfer-full.

5 years agogtk-demo: Cosmetic fixes to the dnd demo
Matthias Clasen [Tue, 24 Dec 2019 03:14:52 +0000 (22:14 -0500)]
gtk-demo: Cosmetic fixes to the dnd demo

5 years agogtk-demo: Cosmetic fixes to the assistant demo
Matthias Clasen [Tue, 24 Dec 2019 02:58:45 +0000 (21:58 -0500)]
gtk-demo: Cosmetic fixes to the assistant demo

5 years agogtk-demo: Fix the application demo
Matthias Clasen [Tue, 24 Dec 2019 02:44:56 +0000 (21:44 -0500)]
gtk-demo: Fix the application demo

This was broken in d223752c55be49, when the
support for internal children was removed
from GtkInfoBar.

5 years agoMerge branch 'validate-templates' into 'master'
Matthias Clasen [Mon, 23 Dec 2019 23:40:43 +0000 (23:40 +0000)]
Merge branch 'validate-templates' into 'master'

builder-tool: Validate templates again

See merge request GNOME/gtk!1265

5 years agobuilder-tool: Validate templates again
Matthias Clasen [Mon, 23 Dec 2019 22:59:15 +0000 (17:59 -0500)]
builder-tool: Validate templates again

This wasn't working because it was expecting
some no-longer-existing error message.

5 years agocolorchooser: Document actions
Matthias Clasen [Mon, 23 Dec 2019 18:36:32 +0000 (13:36 -0500)]
colorchooser: Document actions

This is mainly a trial balloon for gtk-doc
support for this syntax.

See https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/30

5 years agoMerge branch 'inspector-advice' into 'master'
Matthias Clasen [Sun, 22 Dec 2019 19:02:37 +0000 (19:02 +0000)]
Merge branch 'inspector-advice' into 'master'

inspector: Give better advice

See merge request GNOME/gtk!1264

5 years agoinspector: Give better advice
Matthias Clasen [Sat, 21 Dec 2019 18:25:57 +0000 (13:25 -0500)]
inspector: Give better advice

Provide the meson syntax for building a debug-enabled GLib.

6 years agoMerge branch 'ci-msys2-newer-pango' into 'master'
Christoph Reiter [Thu, 19 Dec 2019 17:59:40 +0000 (17:59 +0000)]
Merge branch 'ci-msys2-newer-pango' into 'master'

CI: Install a newer MSYS2 pango package; Don't allow failures again

Closes #2243

See merge request GNOME/gtk!1258

6 years agoplacesview: Always open default location after mounting
Ondrej Holy [Thu, 19 Dec 2019 15:49:07 +0000 (16:49 +0100)]
placesview: Always open default location after mounting

The default location (obtained over g_mount_get_default_location) is
opened after mounting volume, or when opening mounts from sidebar, but
not after mounting over "Connect to Server". Let's unify the behavior
and always open the default location.

https://gitlab.gnome.org/GNOME/nautilus/issues/1319

6 years agoMerge branch 'fix-gtkgesturerotate-potential-leak' into 'master'
Matthias Clasen [Thu, 19 Dec 2019 03:42:31 +0000 (03:42 +0000)]
Merge branch 'fix-gtkgesturerotate-potential-leak' into 'master'

gtkgesturerotate: Fix a memory leak

See merge request GNOME/gtk!1260

6 years agogtkgesturerotate: Fix a memory leak
Yariv Barkan [Wed, 18 Dec 2019 21:03:19 +0000 (23:03 +0200)]
gtkgesturerotate: Fix a memory leak

On touchpads gtk_gesture_get_sequences() was called without a
corresponding g_list_free(). The same was true for touchscreens
if due to some reason only a single sequence was found.

6 years agoCI: Install a newer MSYS2 pango package; Don't allow failures again
Christoph Reiter [Tue, 17 Dec 2019 19:23:28 +0000 (20:23 +0100)]
CI: Install a newer MSYS2 pango package; Don't allow failures again

gtk master requires a newer pango than msys2 has, so install our own copy on top.

See #2243

6 years agoFix various new mingw compiler warnings
Christoph Reiter [Tue, 17 Dec 2019 19:46:36 +0000 (20:46 +0100)]
Fix various new mingw compiler warnings

These are the result of us missing CI for some time now and
MSYS2 having a newer GCC now I guess.

6 years agotree-selection: Drop GtkTreeSelectionPrivate
Peter Bloomfield [Tue, 17 Dec 2019 01:54:23 +0000 (20:54 -0500)]
tree-selection: Drop GtkTreeSelectionPrivate

GtkTreeSelection is now private (since commit 79940b32),
so it doesn't need an instance-private structure.

6 years agoMerge branch 'ci-update-at-spi' into 'master'
Emmanuele Bassi [Mon, 16 Dec 2019 19:26:37 +0000 (19:26 +0000)]
Merge branch 'ci-update-at-spi' into 'master'

Update CI image

Closes #2313

See merge request GNOME/gtk!1254

6 years agoci: Use latest CI image
Emmanuele Bassi [Mon, 16 Dec 2019 19:01:03 +0000 (19:01 +0000)]
ci: Use latest CI image

6 years agoci: Add libXtst-devel to the Docker image
Emmanuele Bassi [Mon, 16 Dec 2019 19:00:02 +0000 (19:00 +0000)]
ci: Add libXtst-devel to the Docker image

New requirement from at-spi2-core.

Fixes: #2313
6 years agoMerge branch 'fix.nonunix.builds' into 'master'
Matthias Clasen [Mon, 16 Dec 2019 17:38:56 +0000 (17:38 +0000)]
Merge branch 'fix.nonunix.builds' into 'master'

Fix non-portal (UNIX) builds

See merge request GNOME/gtk!1252

6 years agotests/: Revert bbb56d8 for non-UNIX
Chun-wei Fan [Mon, 16 Dec 2019 10:03:24 +0000 (18:03 +0800)]
tests/: Revert bbb56d8 for non-UNIX

The portal bits are only supported on *nix, so use the old code on
non-*nix.

6 years agogdk: Build portal bits on *nix only
Chun-wei Fan [Sat, 14 Dec 2019 03:13:21 +0000 (11:13 +0800)]
gdk: Build portal bits on *nix only

The newly-added portal items are supported on *nix only, so only build
them on *nix.

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 16 Dec 2019 16:48:01 +0000 (16:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

file transfer: Fix build on non-Linux

See merge request GNOME/gtk!1253

6 years agofile transfer: Fix build on non-Linux
Matthias Clasen [Mon, 16 Dec 2019 16:28:21 +0000 (11:28 -0500)]
file transfer: Fix build on non-Linux

O_PATH and O_CLOEXEC are not universally available.