Matthias Clasen
|
205b718fe5
|
colorpicker: Always try the portal first
It does not hurt., and going forward, we want to
prefer portals.
|
2022-11-21 14:26:29 -05:00 |
|
Bastien Nocera
|
bd55c5842e
|
colorpickerportal: Simplify version fetching code
Simplify version checking code by using a function to fetch the uint out
of the GVariant and don't throw a warning if it can't be fetched.
|
2020-03-30 18:31:23 +02:00 |
|
Timm Bäder
|
095a378dbc
|
GdkRGBA: Use floats instead of doubles
|
2020-01-07 17:27:15 +01:00 |
|
Matthias Clasen
|
8099669466
|
Move the should_use_portal helper to gdk
We want to use it there too, in the future.
Update all callers.
|
2018-11-04 08:17:32 -05:00 |
|
Matthias Clasen
|
6d6559f982
|
color picker portal: Add request path utility
Less code duplication, more cake!
|
2018-08-30 22:53:36 -04:00 |
|
Matthias Clasen
|
a01feae15b
|
Use defines for bus names
This helps eradicate typos (we had some here).
Closes https://gitlab.gnome.org/GNOME/gtk/issues/1267
|
2018-08-15 15:54:34 -07:00 |
|
Matthias Clasen
|
e76d17a786
|
Only use the portal color picker when appropriate
This is just moving this check around.
|
2018-08-02 20:54:21 -04:00 |
|
Mohammed Sadiq
|
76ed6cf9d8
|
colorpickerportal: Fix memory leak
|
2018-07-30 18:10:31 +05:30 |
|
Matthias Clasen
|
031b5cad46
|
Add a color picker implementation for portals
This adds a GtkColorPicker implementation that talks
to the screnshot portal to get a color.
|
2018-07-27 14:23:20 -04:00 |
|