Matthias Clasen
2ac0df0b75
Drop gtk_css_image_surface_new_for_pixbuf
...
It is unused private api.
2017-11-29 19:47:57 -05:00
Matthias Clasen
8cdaaffd42
Avoid pixbufs when loading themed icons
...
We can directly get a texture from GtkIconTheme now.
2017-11-29 19:44:30 -05:00
Matthias Clasen
507ef68faa
Add gtk_cell_view_new_with_texture
...
Just more api to replace pixbufs with textures.
2017-11-29 19:28:53 -05:00
Matthias Clasen
7b032a9862
Drop gtk_snapshot_render_icon
...
Its not used, and we are working towards removing
GdkPixbuf in the API.
2017-11-29 18:34:45 -05:00
Matthias Clasen
4db2426336
window: Stop using GdkPixbuf
...
We can get by with just using GdkTexture.
2017-11-29 17:28:15 -05:00
Matthias Clasen
83ab83043e
Cosmetic formatting fixes
2017-11-29 17:28:15 -05:00
Christophe Fergeau
9259ca98f3
wayland: Fix indentation of previous commit
2017-11-29 12:21:19 +01:00
Christophe Fergeau
ff3da0818c
wayland: emit GDK_SELECTION_CLEAR on owner changes
...
The wayland backend currently never emits GDK_SELECTION_CLEAR events.
GtkClipboard uses this signal in order to clear the clipboard owner when
the selection is set to something outside the application.
This commit ensures the wayland backend emits GDK_SELECTION_CLEAR before
setting the clipboard owner to NULL, as this means we lost the
selection.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=790031
2017-11-29 11:29:30 +01:00
Christophe Fergeau
93f6f253ea
wayland: Remove unused data structure
...
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=790031
2017-11-29 11:29:29 +01:00
Matthias Clasen
65808418e1
Drop gtk_application_is_inhibited
...
This function returns global session state that may
not be available to applications (e.g. in sandboxed
environments), and is not needed by applications,
so just drop it, instead of keeping a function around
that can't be guaranteed to work.
2017-11-28 23:02:58 -05:00
Matthias Clasen
4371f370bc
Improve the docs
...
Document that gtk_application_is_inhibited can't
be guaranteed to work.
2017-11-28 22:52:44 -05:00
Benjamin Otte
4ebbb19e25
inspector: Reorganize stack
...
There are too many stack elements in the main stack. So add a substack
for the pages that display common global state. The appropriate name I
found for it was "Global".
It's used to house the General, Visual, Resources and Statistics pages
for now.
2017-11-29 04:22:53 +01:00
Benjamin Otte
c60df96deb
inspector: remove visible=TRUE properties
...
This is the defualt these days.
2017-11-29 04:22:53 +01:00
Matthias Clasen
0dfe12fab0
gdk: Add some missing autocleanups
...
GdkMonitor and GdkSeat were missing here.
2017-11-28 15:03:48 -05:00
Rico Tzschichholz
2d797dd816
Fix some parameter name mismatches to make g-ir-scanner happier
2017-11-28 15:24:49 +01:00
Carlos Garnacho
cabfdd5c48
gdkseatdefault: Use TABLET_STYLUS capability for styli/erasers/cursors
...
Those are devices created for drawing tablets, so using the "pointer"
capability is far too generic.
2017-11-27 21:41:25 +01:00
Carlos Garnacho
7decad177c
gdk/wayland: Emit GdkSeat::device-added/removed
...
Those were never sent in this backend...
2017-11-27 19:51:38 +01:00
Matthias Clasen
43e59258e4
Fix up _gtk_widget_list_devices
...
When I rewrote that function to not use GdkDeviceManager,
I overlooked that the window filtering needs to apply
to the master pointer as well, as other code assumes
that _gtk_widget_get_device_window will return non-NULL
on the devices in the list. Fix this.
2017-11-27 12:35:10 -05:00
Matthias Clasen
8747c7a42a
Fix a typo
...
The signal is called ::unpaired-release.
2017-11-27 10:56:09 -05:00
Милош Поповић
2b14a82b72
Update Serbian translation
2017-11-27 10:38:07 +00:00
Matthias Clasen
268ebb3a46
listbox: Handle unpaired releases as well
...
Same as for flowbox in the previous commit.
2017-11-26 19:52:01 -05:00
Carlos Garnacho
0567b41f24
gtkflowbox: Activate items on ::unpaired-release
...
If the flowbox is single-click.
https://bugzilla.gnome.org/show_bug.cgi?id=789163
2017-11-26 19:42:03 -05:00
Carlos Garnacho
bce91555f5
gtkgesturemultipress: Add ::unpaired-release signal
...
This signal will be emitted whenever the gesture received a
button release or touch end event without a pairing button
press or touch begin. This usually happens when grabs transfer
input from one widget to another mid-press.
https://bugzilla.gnome.org/show_bug.cgi?id=789163
2017-11-26 19:42:03 -05:00
Matthias Clasen
b8c58f41b6
wayland: Don't provide gsetting if dconf is not available
...
This makes gtk+ fall back to reading ~/.config/gtk-3.0/settings.ini
on systems with Wayland, but without dconf (do those exist?).
https://bugzilla.gnome.org/show_bug.cgi?id=790201
2017-11-26 19:40:28 -05:00
Kjell Ahlstedt
7ef5858f8d
GtkWindow: Fix the down-scaling in icon_from_list()
...
Must use floating-point division to get the correct scale factors.
cairo_set_source_surface() must be called after cairo_scale().
https://bugzilla.gnome.org/show_bug.cgi?id=790287
2017-11-26 18:54:59 -05:00
Piotr Drąg
70ff1ef216
Update POTFILES.in
2017-11-25 17:32:53 +01:00
Matthias Clasen
1884558470
wayland: Drop GdkWaylandDeviceManager
...
This object had no functionality left.
2017-11-25 11:04:15 -05:00
Matthias Clasen
05149a391f
Drop GdkDeviceManager entirely
...
Nothing uses it anymore.
2017-11-25 11:04:15 -05:00
Matthias Clasen
7e40fcc344
Drop the ::device-manager property
...
Not used for anything anymore.
2017-11-25 11:04:15 -05:00
Matthias Clasen
bad53bc201
x11: Stop deriving from GdkDeviceManager
...
We can just derive from GObject.
2017-11-25 11:04:15 -05:00
Matthias Clasen
da8bcc7ed9
wayland: Stop deriving from GdkDeviceManager
...
We can just derive from GObject.
2017-11-25 11:04:15 -05:00
Matthias Clasen
01278e591c
win32: Stop deriving from GdkDeviceManager
...
We can just derive from GObject.
2017-11-25 11:04:15 -05:00
Matthias Clasen
1471c64fb2
quartz: Stop deriving from GdkDeviceManager
...
We can just derive from GObject.
2017-11-25 11:04:15 -05:00
Matthias Clasen
fd958939be
Drop the GdkDeviceManager::display property
...
Move this to the backends, and stop deriving
from GdkDeviceManager.
2017-11-25 11:04:15 -05:00
Matthias Clasen
7c33baabd2
Remove the get_client_pointer vfunc
2017-11-25 11:04:15 -05:00
Matthias Clasen
0ec491ea9d
Drop the get_client_pointer vfunc
...
There is no api using this anymore.
2017-11-25 11:04:15 -05:00
Matthias Clasen
b6a634fe38
Drop the list_devices vfunc
...
We no longer have api that uses this.
2017-11-25 11:04:15 -05:00
Matthias Clasen
ecb96257b9
Drop gdk_device_manager_list_devices
...
It is not used and GdkDeviceManager is going away.
2017-11-25 11:04:15 -05:00
Matthias Clasen
30a037c4fe
gdk: Drop devicemanager signals
...
Nobody is emitting them anymore.
2017-11-25 11:04:15 -05:00
Matthias Clasen
efbcb38fdf
wayland: Stop emitting devicemanager signals
...
Nobody is listening to these signals anymore.
2017-11-25 11:04:15 -05:00
Matthias Clasen
c9261f50aa
x11: Stop emitting devicemanager signals
...
Nobody is listening to these anymore, so there
is no point in emitting them.
2017-11-25 11:04:14 -05:00
Matthias Clasen
cd3d2badf0
display: Drop the device_manager for good
...
This is now entirely the backends responsibility.
2017-11-25 11:04:14 -05:00
Matthias Clasen
639d93687f
wayland: Stop using display->device_manager
...
We can keep the device manager in the backend.
2017-11-25 11:04:14 -05:00
Matthias Clasen
95ae688072
quartz: Stop using display->device_manager
...
We can keep the device manager in the backend.
2017-11-25 11:04:14 -05:00
Matthias Clasen
ab0aea900c
win32: Stop using gdk_display_get_device_manager
...
We can keep the devicemanager in the backend.
2017-11-25 11:04:14 -05:00
Matthias Clasen
aae4fafad2
x11: Stop using gdk_display_get_device_manager
...
We can keep the displaymanager in the backend.
2017-11-25 11:04:14 -05:00
Matthias Clasen
6489bc1929
broadway: Remove devicemanager implementation
...
It is not used and not needed anymore.
2017-11-25 11:04:14 -05:00
Matthias Clasen
1023249e31
broadway: Stop using GdkDeviceManager
...
We can use the GdkSeat apis for this.
2017-11-25 11:04:14 -05:00
Matthias Clasen
903959301b
display: Stop using devicemanager internally
...
We can just use the seats to find out about device removals.
2017-11-25 11:04:14 -05:00
Matthias Clasen
1f6fb4e716
Drop GdkDeviceManager APIs
...
No longer used outside of the backends.
2017-11-25 11:04:14 -05:00