Timm Bäder
ad155fb26c
Remove GtkStock API from GtkImage
2016-10-16 18:17:21 +02:00
Timm Bäder
f37cb8f9d0
reftests: Remove GtkMisc properties from now non-misc widgets
2016-10-16 18:17:21 +02:00
Timm Bäder
eadb49d97f
recentchoosermenu: Stop using GtkImageMenuItem
2016-10-16 18:17:21 +02:00
Timm Bäder
421be38a3c
toolbutton: Stop using GtkImageMenuItem
2016-10-16 18:17:21 +02:00
Timm Bäder
d36e4125d1
testgtk: Remove GtkImageMenuItem usage
2016-10-16 18:17:21 +02:00
Timm Bäder
b9a304cf6f
testgtk: fix css
2016-10-16 18:17:21 +02:00
Timm Bäder
ac31a00dcf
testbuttons: Stop looking at use-stock property
...
Doesn't exist anymore. Instead, force the image to be visible on one of
the buttons.
2016-10-16 18:17:21 +02:00
Timm Bäder
10e24d58c3
button: Remove _{get,set}_focus_click
...
Deprecated for the GtkWidget variant. Also remove some unused fields
from the GtkButtonPrivate struct.
2016-10-16 18:17:21 +02:00
Timm Bäder
10a92a210b
button: Remove deprecated style properties
2016-10-16 18:17:21 +02:00
Timm Bäder
9f2ca684e2
button: Remove deprecated signals from public API
2016-10-16 18:17:21 +02:00
Timm Bäder
590cd6a9f2
button: Remove GtkStock API
2016-10-16 18:17:21 +02:00
Timm Bäder
4162d65a7b
tests: Remove teststockbuttonmenu
2016-10-16 18:17:21 +02:00
Timm Bäder
485d1b9835
Button: Remove alignment API
2016-10-16 18:17:21 +02:00
Timm Bäder
9d43644153
label,image: Remove GtkMisc usage
2016-10-16 18:17:21 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
Timm Bäder
c301357627
inspector: Remove object_title from css editor
...
It's unused
2016-10-16 18:17:21 +02:00
Timm Bäder
91f989006c
Don't use GtkBox's center child in a few places
...
We can as well use a normal child and let it hexpand.
2016-10-16 18:17:21 +02:00
Benjamin Otte
eace2cf421
API: Remove gdk_window_set_background()
...
Backgrounds are always transparent black.
2016-10-16 18:17:21 +02:00
Benjamin Otte
bae12e6a2f
tests: Remove testwindows test
...
It wasn't drawing anything anymore...
2016-10-16 18:17:21 +02:00
Benjamin Otte
0df388051d
API: Remove GtkStyle
...
All the remaining gtkrc.c stuff like GtkRcStyle goes with it.
2016-10-16 18:17:21 +02:00
Benjamin Otte
05763e4875
settings: Pull in the RC parsing code
2016-10-16 18:17:21 +02:00
Benjamin Otte
361d322bfb
immodules: Move path code out of gtkrc
2016-10-16 18:17:21 +02:00
Benjamin Otte
1aa336b500
cellrendererspinner: Draw our own spinner
...
This is the GtkStyle code just moved.
2016-10-16 18:17:21 +02:00
Benjamin Otte
662001b60a
API: Remove ability to set visuals on windows
...
And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are
gone.
We now always use the RGBA visual (if available) and otherwise fall back
to the system visual.
2016-10-16 18:17:21 +02:00
Benjamin Otte
380494c1d7
API: Remove gtk_drag_dest_set_proxy()
...
Proxies were only used by GtkSocket.
2016-10-16 18:17:21 +02:00
Benjamin Otte
021fe010b6
API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget
2016-10-16 18:17:21 +02:00
Benjamin Otte
89f2e17f91
API: Remove gdk_window_set_composited()
...
And the related call gdk_display_supports_composite().
2016-10-16 18:17:21 +02:00
Benjamin Otte
8d54c641f1
screen: Remove unused vfunc
...
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
2016-10-16 18:17:21 +02:00
Benjamin Otte
ad64402a55
filechooserwidget: Query dpi from CssStyle
2016-10-16 18:17:21 +02:00
Benjamin Otte
77cdbfde97
fontchooserwidget: Query dpi from CssStyle
2016-10-16 18:17:21 +02:00
Benjamin Otte
fec8069e7b
API: screen: Stop storing font options
...
font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.
2016-10-16 18:17:21 +02:00
Benjamin Otte
fcbd480c76
API: Remove GDK_WA_CURSOR
...
The cursor was set using gdk_window_set_cursor() even in
gdk_window_new().
So instead of having yet another flag, just make the users of that flag
call gdk_window_set_cursor() directly after the window was created.
2016-10-16 18:17:21 +02:00
Benjamin Otte
2fd5048943
API: window: Remove suppport for changing wmclass_name/group
...
X11 was the only backend to support it and people can just override it
using XSetClassHint() directly.
The docs already advertised the function as "Do not use".
Keep the existing call to XSetClassHint() in place, so that we keep
setting the same values as in GTK3.
2016-10-16 18:17:21 +02:00
Timm Bäder
fe24fcbc3e
Delete gtkvbox.{c,h}
2016-10-16 18:17:21 +02:00
Timm Bäder
fb3d9022ad
Remove GtkHBox
2016-10-16 18:17:21 +02:00
Benjamin Otte
9a5de96187
API: Remove GtkNumerableIcon
2016-10-16 18:17:21 +02:00
Benjamin Otte
d09e48cec1
API: Remove -gtk_widget_get_root_window()
2016-10-16 18:17:21 +02:00
Benjamin Otte
9be9e00a0e
API: screen: Remove gdk_screen_make_display_name()
...
It's identical to gdk_display_get_name().
2016-10-16 18:17:21 +02:00
Benjamin Otte
6b9e481e38
API: screen: Remove gdk_screen_get_active_window()
...
... and gdk_screen_get_window_stack().
Those functions were originally added in
5afb4f0f11
but do not seem to be used as
they are not implemented anywhere but in X.
As GDK is not meant to fulfill window management functionality I'm going
to remove these functions without replacements.
2016-10-16 18:17:21 +02:00
Benjamin Otte
26f9b584be
API: gdk: Remove gdk_screen_get_number()
...
It's useless everywhere but in internal X11 code.
2016-10-16 18:17:21 +02:00
Benjamin Otte
0be88cc76e
API: Remove gdk_screen_get_width() and gdk_screen_get_height()
...
... and gdk_screen_get_width_mm() and gdk_screen_get_height_mm() and
the shortcut counterparts that call these functions on the default
screen.
Modern display servers don't provide an ability to query the size of a
screen or display so we shouldn't allow that either.
2016-10-16 18:17:21 +02:00
Benjamin Otte
579edbbca8
display: Insist that backends implement the monitor vfuncs
...
We cannot fallback anymore once we remove the ability to query screen
size, and that's about to happen.
2016-10-16 18:17:21 +02:00
Benjamin Otte
ed30f271f5
gdk: Insist axis.min_value < axis.max_value
...
Remove fallback code that would substitute screen size otherwise.
2016-10-16 18:17:21 +02:00
Benjamin Otte
2033b06cb6
gdk: Require passing screen size to translate_screen_coord()
2016-10-16 18:17:21 +02:00
Benjamin Otte
4445807421
shooter: Use root window size instead of screen size
...
Avoids usage deprecated screen size.
2016-10-16 18:17:21 +02:00
Benjamin Otte
013caef941
testgtk: Remove feature unsupported in Wayland
...
Wayland doesn't allow positioning windows randomly, so don't try.
2016-10-16 18:17:21 +02:00
Benjamin Otte
c2125e80a3
API: window: Remove geometry support
2016-10-16 18:17:21 +02:00
Benjamin Otte
4ed9452e90
API: menu: Remove tearoff support
2016-10-16 18:17:21 +02:00
Benjamin Otte
1a0a423250
API: gdk: Remove monitor APIs on GdkScreen
2016-10-16 18:17:21 +02:00
Benjamin Otte
d2a8667f83
API: Remove GtkStatusIcon
2016-10-16 18:17:21 +02:00