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
Timm Bäder
46007df8a5
spinbutton demo: Spinbuttons are no Entries
2017-07-19 21:27:11 -04:00
Timm Bäder
f736b071b4
spinbutton: Add text property
2017-07-19 21:27:11 -04:00
Timm Bäder
37d6fd1ffa
Entry: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
8a7843eaf2
toolbar: Remove gadget
2017-07-19 21:27:11 -04:00
Timm Bäder
4c43a4d4c5
cellrendererspin: Include gtkentry.h
...
The symbols aren't in gtkspinbutton.h anymore.
2017-07-19 21:27:11 -04:00
Timm Bäder
c268ed832d
flowbox: Initialize allocation
2017-07-19 21:27:11 -04:00
Timm Bäder
b60686e8f1
spinbuttonaccessible: Inherit from GtkWidgetAccessible
2017-07-19 21:27:11 -04:00
Timm Bäder
3a2ca91eae
spinbutton: Remove call to GtkSpinButton API
...
The condition will never be true since spinbuttons aren't entries
anymore.
2017-07-19 21:27:11 -04:00
Timm Bäder
3c2d2545b2
spinbutton: Inherit from GtkWidget
...
Use a box, an entry and the current 2 buttons.
Remaining problems: Entry sizing and activation.
2017-07-19 21:27:11 -04:00
Timm Bäder
fc5c2f2030
modelbutton: Remove last gadget usages
...
And fix the clip calculation
2017-07-19 21:27:11 -04:00
Timm Bäder
5532b9a1b3
label: Fix clipping
...
We were using an uninitialized value here.
2017-07-19 21:27:11 -04:00
Timm Bäder
af7781ce0f
widget-factory: Remove invisible-char usage for spin buttons
2017-07-19 21:27:11 -04:00
Timm Bäder
78b497bd7a
frame: Remove empty finalize implementation
2017-07-19 21:27:11 -04:00