Timm Bäder
a735dd44cb
searchbar: Fix property documentation comments
...
They are properties of GtkSearchBar, not GtkEntry.
2017-07-19 21:27:12 -04:00
Timm Bäder
4823b9f2d7
searchbar: Remove manual snapshot code
2017-07-19 21:27:12 -04:00
Timm Bäder
2e4df25a1d
menu: Stop drawing css background and border
...
GtkWidget does it now
2017-07-19 21:27:12 -04:00
Timm Bäder
1a1f9fd03c
menu: Remove unnecessary queue_draw
2017-07-19 21:27:12 -04:00
Timm Bäder
c35a78110c
menu: Stop looking at padding and margin manually
2017-07-19 21:27:12 -04:00
Timm Bäder
8d2d2ae07f
button: Remove unused flag
2017-07-19 21:27:12 -04:00
Timm Bäder
720bb9eede
checkbutton: Don't draw a focus ring
...
GtkWidget does it for us now.
2017-07-19 21:27:12 -04:00
Timm Bäder
df28f3d771
meson: Remove double gtkcssnode.c entry in source files
2017-07-19 21:27:12 -04:00
Timm Bäder
9ab43dfe9e
spinbutton: Add accessors for (max-)width-chars
2017-07-19 21:27:12 -04:00
Timm Bäder
6aa9ca7b55
spinbutton: Fix activation
2017-07-19 21:27:12 -04:00
Timm Bäder
88550b5d55
inspector: Show the GdkWindow before grabbing
...
Gets rid of a critical when trying to inspect widgets.
2017-07-19 21:27:12 -04:00
Timm Bäder
2651fcbef9
widget: Special-case popover in snapshot
...
Just like we do it for GtkWindow.
2017-07-19 21:27:12 -04:00
Timm Bäder
1d4d5b2eb9
popover: Stop looking at padidng and border in measure
...
GtkWidget does it for us now
2017-07-19 21:27:12 -04:00
Timm Bäder
a5b25d452a
boxgadget: Remove unused ComputeExpandFunc
2017-07-19 21:27:12 -04:00
Timm Bäder
0845246fb8
menuitem: Remove gadget
...
Now that GtkCheckMenuItem isn't using it anymore, we also don't need it.
2017-07-19 21:27:12 -04:00
Timm Bäder
022a3d76d9
checkmenuitem: Stop using the parent's gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
2234d100ad
expander: Inherit from GtkContainer
...
This fixes the expansion not working. As a GtkBin, GtkExpander can only
have one child and if that's a GtkBox (and not the one added through
gtk_expander_add), things go wrong.
2017-07-19 21:27:12 -04:00
Timm Bäder
a2f7a076ac
inspector: Fix list row alignment in general tab
2017-07-19 21:27:12 -04:00
Timm Bäder
8bf3b2d5e4
scrolledwindow: Remove useless function call
...
We never use the result.
2017-07-19 21:27:12 -04:00
Timm Bäder
5b51936676
scrolledwindow: Fix child widget positioning
...
Instead of relying on get_relative_allocation, just use the
scrolledwindow's content allocation we get passed to size-allocate.
2017-07-19 21:27:12 -04:00
Timm Bäder
cfd67eb4ec
scrolledwindow: Remove last argument from allocate_child
...
We never use that when calling gtk_scrolled_window_allocate_child.
2017-07-19 21:27:12 -04:00
Timm Bäder
9e79684762
range: Remove gadget completely
2017-07-19 21:27:12 -04:00
Timm Bäder
2cedf1be9c
widget: Remove gtk_widget_set_allocation
2017-07-19 21:27:12 -04:00
Timm Bäder
60e053f52a
Remove calls to gtk_widget_set_allocation
...
gtk_widget_size_allocate_with_baselines does it automatically now.
2017-07-19 21:27:12 -04:00
Timm Bäder
cd6a8bff8f
revealer: Stop calculating paddings ourselves
...
GtkWidget does it not for all widgets.
2017-07-19 21:27:12 -04:00
Timm Bäder
04fcb1f17f
revealer: Don't add a clip node for CROSSFADE transitions
...
We don't need them there as we just change the opacity of the revealer.
2017-07-19 21:27:12 -04:00
Timm Bäder
c76804b1f2
cellview: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
1d782b8930
scale: Fix value position
...
by not using the range's gadget which is not allocated to any position
anymore.
2017-07-19 21:27:12 -04:00
Timm Bäder
a71edd2925
widget: Add private get_margin_allocation
2017-07-19 21:27:12 -04:00
Timm Bäder
2ba07901db
buttonbox: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
dc4bdc2021
stack: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
ede6f2ab59
Slightly rework clip handling
...
always initialize clips to the (content) allocation, don't walk up the
widget hierarchy in gtk_widget_set_clip, implement
gtk_widget_size_allocate in GtkSeparator. This way we don't end up using
uninitialized clip values.
The entire clip handling is up for major rework since we can't and don't
want to force every single widget to call _set_clip in size-allocate
implementations.
2017-07-19 21:27:12 -04:00
Timm Bäder
28b18129b5
button: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
c3ffad1fb3
gtkscale: Properly initialize the clip
2017-07-19 21:27:12 -04:00
Timm Bäder
c87be0a27a
widget: Don't set the allocation in size-allocate
...
If widgets chain up in their size-allocate implementation, they pass the
content allocation and not the widget allocation which will cause the
wrong allocation to be set.
2017-07-19 21:27:12 -04:00
Timm Bäder
bf118eca80
label: Don't chain up in size_allocate
...
It's unnecessary now.
2017-07-19 21:27:12 -04:00
Timm Bäder
671c5ac434
frame: Fix copy&paste bug in shadow-type handling
...
If the given shadow_type is none NONE, we have to remove the .flat style
class of course, not add it.
2017-07-19 21:27:12 -04:00
Timm Bäder
49476053e3
paned: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
83b590cd78
combobox: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
ff6db012d9
widget: Add private get_border_allocation
2017-07-19 21:27:11 -04:00
Timm Bäder
5e3b866370
flowbox: Remove gadgets
2017-07-19 21:27:11 -04:00
Timm Bäder
3f5626a3f7
viewport: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
2e3211b0cb
scrolledwindow: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
e37457adf9
box: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
5baaa76bac
box: Remove gadget accessor
2017-07-19 21:27:11 -04:00
Timm Bäder
23ef6e4a3b
actionbar: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
b749de8b8f
buttonbox: Don't use the parent gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
bafa55349f
separatortoolitem: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
fe6832fcc9
menubar: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
9fedd05051
fontchooserwidgets: Spinbuttons are no entries
2017-07-19 21:27:11 -04:00