Daniel Boles
f7ebff6aea
EmojiCompletion: Avoid un/signed compare warnings
...
(A) Use gsize to match the result of g_variant_n_children
(B) Use guint for n_matches, like the struct (and all other n_matches)
2018-06-20 20:38:27 +01:00
Daniel Boles
8aeced2c91
themes: Remove leftover bit of .linked workaround
...
Now that .linked acts like the .path-bar already did, there is no point
in applying the same styles again (with higher specificity).
2018-06-20 20:11:26 +01:00
Timm Bäder
e8fefd92c5
container: Remove SPECIAL_CONTAINER hack
...
As discussed in !129
Closes !129
2018-06-20 20:47:18 +02:00
Timm Bäder
22390adf11
stackswitcher: Remove icon-size property
...
This ought to be controlled via css these days.
2018-06-20 20:47:18 +02:00
Timm Bäder
cf9121977f
infobar: Remove priv pointer
2018-06-20 20:47:18 +02:00
Timm Bäder
99099a1053
Remove some unnecessary snapshot implementations
2018-06-20 20:47:18 +02:00
Timm Bäder
daba1a7eff
fixed: Remove priv pointer
2018-06-20 20:47:17 +02:00
Timm Bäder
f26359db13
listbox: Use widget insert API instead of fiddling with CSS nodes
2018-06-20 20:47:17 +02:00
Timm Bäder
945b844b7c
button: Remove ICON_SIZE_BUTTON mention in docs
...
The icon will have the size given by css, not whatever
GTK_ICON_SIZE_BUTTON was.
2018-06-20 20:47:17 +02:00
Timm Bäder
f33655fa4e
adjustment: Only emit ::changed from dispatch_properties_changed
2018-06-20 20:47:17 +02:00
Timm Bäder
ee8ee313c8
adjustment: Remove adjustment_changed_stamp
2018-06-20 20:47:17 +02:00
Timm Bäder
a12d26155f
adjustment: Use public setters in set_property
2018-06-20 20:47:17 +02:00
Daniel Boles
cae382c829
themes: Regenerate CSS for recent commits
...
e.g. the box.linked one, which didn't update the compiled CSS.
2018-06-20 19:26:46 +01:00
Daniel Boles
0a5086d94f
HC: Avoid excessive selectors from prev commit
...
The new rule does not need to affect all those other pseudoclasses. I
just put it in the wrong scope.
2018-06-20 19:26:41 +01:00
Daniel Boles
b103650cb0
HC: Avoid same BG/FG colors in flat treeview entry
...
Selected rows in tree views in HighContrast have a background colour the
same or nearly as the normal text colour, so we cannot let entries in
such rows have transparent backgrounds, or the text inside the entry
becomes nearly or totally impossible to see.
Dodge this by giving entry.flat inside treeview and with :focus the
$base_color, which is different from the text & so lets that be seen.
https://gitlab.gnome.org/GNOME/gtk/merge_requests/125
2018-06-20 19:13:26 +01:00
Daniel Boles
337e602143
searchenginetracker: Don't leak the hits' GFiles
...
https://gitlab.gnome.org/GNOME/gtk/merge_requests/206
2018-06-20 17:20:31 +01:00
Matthias Clasen
cd99f82e0c
Merge branch 'master' into 'issue1084'
...
# Conflicts:
# gdk/gdk.c
2018-06-20 14:21:24 +00:00
Timm Bäder
29fee2e808
window: Remove priv pointer
2018-06-20 07:49:04 +02:00
Timm Bäder
417b1d8335
pathbar: Remove unused define
2018-06-20 07:48:54 +02:00
Daniel Boles
ec096b417c
Merge branch '1160-crash-clearing-gtkentry-icon-tooltip-master' into 'master'
...
Resolve "Crash clearing GtkEntry icon tooltip"
Closes #1160
See merge request GNOME/gtk!205
2018-06-19 20:22:38 +00:00
Benjamin Otte
0b1f0984f5
Revert "Use aligned allocators for GtkSnapshot"
...
This reverts commit c02bc22cc5
.
This code is not necessary.
The bug causing this problem ws prsent in the graphene library.
2018-06-19 19:52:52 +02:00
Benjamin Otte
6918fb2e4e
rendernodepaintable: Fix rendering position
...
When the given size had an offset, we were moving that offset in the
wrong direction.
2018-06-19 19:44:17 +02:00
Benjamin Otte
3caf8c86c9
dnd: Use a GtkPicture in gtk_dnd_set_icon_paintable()
...
We don't want to get the paintable scaled down to icon size.
Also set can-shrink = FALSE to replicate GTK3 behavior with size
requests.
2018-06-19 19:44:17 +02:00
Benjamin Otte
8c8dc3aeab
snapshot: Compute correct size in gtk_snapshot_to_paintable()
...
Also, do actually respect the passed in size argument if it isn't NULL.
Fixes text being cut off inside DND icons.
2018-06-19 19:44:17 +02:00
Daniel Boles
4f979469f1
a11y/entry: Fix copy-pasteo re 2ndary icon tooltip
...
The else case was wrongly resetting the accessible description on the
primary icon, which might not exist and can therefore cause a crash.
https://gitlab.gnome.org/GNOME/gtk/issues/1160
2018-06-19 18:37:25 +01:00
Matthias Clasen
87532f0ac3
Merge branch 'wip/carlosg/issue-1159' into 'master'
...
Fix issue 1159
Closes #1159
See merge request GNOME/gtk!202
2018-06-19 16:40:39 +00:00
Carlos Garnacho
8e3bf65b3b
gtkgesture: Check claimed status after event delivery
...
The claimed status check should happen after ::end is emitted,
as the gesture may deny the sequence that much late. In this
case the event should keep propagating.
https://gitlab.gnome.org/GNOME/gtk/issues/1159
Closes : #1159
2018-06-19 13:47:38 +02:00
Carlos Garnacho
de30a74cdf
gtkwidget: Avoid doubly coordinate conversion when emulating press
...
We are poking again into the event propagation machinery, which
expects events in toplevel coordinates. Since we can't fetch the
original event back at this point, translate the coordinates
back to the toplevel so the emulated press ends up in the right
place.
https://gitlab.gnome.org/GNOME/gtk/issues/1159
Closes : #1159
2018-06-19 13:47:26 +02:00
Benjamin Otte
9a91d3739d
widget: Remove time argument from drag_data_get() vfunc
2018-06-18 23:49:53 +02:00
Benjamin Otte
a2839d157f
dnd: Remove unused time arguments
2018-06-18 23:49:53 +02:00
Benjamin Otte
a1cee7fa65
surface: Kill event masks
...
In particular, this patch removes:
gdk_surface_get_events()
gdk_surface_set_events()
gdk_surface_get_device_events()
gdk_surface_set_device_events()
Event masks so far still exist for grabs.
2018-06-18 23:49:52 +02:00
Benjamin Otte
8a08a325be
dnd: Implement gtk_drag_get_source_widget() differently
...
Instead of keeping a list of source contexts, just use the current
drag's info.
2018-06-18 23:49:52 +02:00
Benjamin Otte
d02b185a87
dnd: Add gdk_event_get_drop()
...
And remove gdk_event_get_drag_context().
All GTK code now only uses GdkDrop for dropping.
2018-06-18 23:49:52 +02:00
Benjamin Otte
b00609c21c
dnd: Make drag-motion and drag-drop signals use GdkDrop
2018-06-18 23:49:52 +02:00
Benjamin Otte
6d7cb2b781
dnd: Make drag-data-received use a GdkDrop
2018-06-18 23:49:52 +02:00
Benjamin Otte
314eaf7d10
widget: Make GtkWidgetClass::drag_leave() take a GdkDrop
...
Drag Contexts are on their way out!
2018-06-18 23:49:20 +02:00
Benjamin Otte
5b0a6a52c1
dnd: Get rid of gtk_drag_finish()
...
It's just a wrapper around gdk_drag_finish(), so use that one instead.
2018-06-18 23:49:20 +02:00
Benjamin Otte
13ae11ee01
dnd: Rename gdk_drop_finish() => gdk_drag_finish()
...
This is a simple rename, so that we can reintroduce gdk_drop_finish()
with the GdkDrop object.
2018-06-18 23:49:19 +02:00
Benjamin Otte
6919d8c532
drop: Move gdk_drop_read_async() to GdkDrop class
2018-06-18 23:49:19 +02:00
Matthias Clasen
841a29837e
Merge branch 'lrn/misc-gtk4-fixes' into 'master'
...
Misc GTK4 fixes
See merge request GNOME/gtk!195
2018-06-18 21:37:42 +00:00
Matthias Clasen
7554384b2d
Merge branch 'win32-filechooser-fix-file-list-order' into 'master'
...
win32 file chooser: add missing g_slist_reverse
See merge request GNOME/gtk!199
2018-06-18 20:09:47 +00:00
Timm Bäder
64313f4a4b
themes: Don't handle box.linked special
...
We don't reverse the css nodes anymore in RTL layouts.
2018-06-18 19:39:32 +02:00
Timm Bäder
34f556fc3e
filechooserbutton: Remove priv pointer
2018-06-18 17:35:03 +02:00
Timm Bäder
218b39fe01
GtkStyleContext: Remove the frame clock
...
It's unused within GtkStyleContext.
2018-06-18 17:35:03 +02:00
Timm Bäder
70c8cfa480
dnd: Fix up a comment
...
The below function does not take a GtkIconHelper anymore.
2018-06-18 17:35:03 +02:00
Timm Bäder
501efeb6b9
colorscale: Remove priv pointer
2018-06-18 17:35:03 +02:00
Timm Bäder
a7d8127d59
fontbutton: Remove priv pointer
2018-06-18 17:35:03 +02:00
Timm Bäder
beb4cb0e37
radiobutton: remove priv pointer
2018-06-18 17:35:03 +02:00
Timm Bäder
346ec706f7
picture: Fix up some docs
...
Use nullable instead of allow-none consistently, remove trailing
whitespace and fix some c&p problems.
2018-06-18 17:35:03 +02:00
Timm Bäder
d8274856de
drawingarea: Clarify some comments
2018-06-18 17:35:03 +02:00