Benjamin Otte
2ca641edc9
scrolledwindow: Use gtk_widget_queue_draw()
2016-10-27 05:07:23 +02:00
Benjamin Otte
bf64b6aec4
paned: Use gtk_widget_queue_draw()
2016-10-27 05:07:23 +02:00
Benjamin Otte
8202d3fe89
menu: Remove unneeded invalidations
...
The gadgets should take care of those themselves
2016-10-27 05:07:23 +02:00
Benjamin Otte
ef1ba12037
notebook: Use gtk_widget_queue_draw()
2016-10-27 05:07:23 +02:00
Benjamin Otte
1df8b15711
gtk: Remove gdk_window_invalidate() from docs
...
And replace its mentions with gtk_widget_queue_draw().
2016-10-27 05:07:23 +02:00
Benjamin Otte
b9aef64f09
toolitemgroup: Use gtk_widget_queue_draw()
2016-10-27 05:07:23 +02:00
Benjamin Otte
4d4b355d0e
iconview: Use gtk_widget_queue_draw()
2016-10-27 05:07:23 +02:00
Benjamin Otte
ac88153f60
expander: Remove unnecessary redraws
2016-10-27 05:07:23 +02:00
Benjamin Otte
8b76d12f28
drawingarea: Clarify docs
...
Don't use gdk_window_invalidate(), use gtk_widget_queue_draw().
2016-10-27 05:07:23 +02:00
Benjamin Otte
27ab75250c
widget: Redo how gtk_widget_queue_draw() works
...
Before, we would immediately invalidate the GdkWindow of the widget, now
we call the parent's GtkWidgetClass.queue_draw_child() function.
This allows the parent to track redraw queueing of children.
By default GtkWidgetClass.queue_draw_child() will again chain up to its
parent while respecting the GdkWindow hierarchy for clipping.
GtkWindow is then the only widget actually invalidating the GdkWindow.
This essentially moves redraw queueing from GDK to GTK.
2016-10-27 05:07:23 +02:00
Benjamin Otte
77038a9b0b
widget: Inline function into only caller
...
... and remove all the checks that are not needed in this case.
2016-10-27 05:07:23 +02:00
Benjamin Otte
568f1ff301
pixelcache: Remove
...
It's now unused.
2016-10-27 05:03:06 +02:00
Benjamin Otte
a9c05448a8
textview: Get rid of the pixel cache
2016-10-27 05:03:06 +02:00
Benjamin Otte
134165e773
treeview: Remove the pixel cache usage
2016-10-27 05:03:06 +02:00
Matthias Clasen
6861a5d0a4
Spacing fixes for builtin dialogs
...
Replace border-width and padding by margins, in most places.
2016-10-26 20:58:07 -04:00
Matthias Clasen
e2e8231ca9
color chooser: Fix a problem with show-editor=TRUE
...
For some reason we end up allocating the colorplane widget
before it is realized, and then never initialize the surface.
Fix this by explicitly doing it on realize.
https://bugzilla.gnome.org/show_bug.cgi?id=773474
2016-10-26 14:33:07 -04:00
Benjamin Otte
75358e4d8d
applicationwindow: Fix issues with measure vfunc transition
2016-10-26 19:52:02 +02:00
Benjamin Otte
a750f942ac
viewport: Remove pixelcache
...
With the rework for GSK and queueing of redraws pending, the pixel cache
just gets in the way. So we remove it everywhere.
2016-10-26 19:52:02 +02:00
Emmanuele Bassi
da2d91b9b3
build: Update CLEANFILES
...
We use nodist for gir and typelib files, because we expect them to be
rebuilt.
2016-10-26 16:10:35 +01:00
Emmanuele Bassi
b6c749e61c
build: Beautify the GIR post-processing
...
Use AM_V_GEN to silence the command line output.
2016-10-26 15:58:23 +01:00
Alexander Larsson
723b588b5d
Make gdk.la and gsk.la a noninst helper library
...
This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.
https://bugzilla.gnome.org/show_bug.cgi?id=773100
2016-10-26 16:34:15 +02:00
Benjamin Otte
3fd63e1d67
widget: Improve early exit checks on queue_draw()
...
(1) We don't need to check for realized when we check for mapped right
below.
(2) Empty regions don't need to be drawn.
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
52c4421bd3
win32 theme: Fix tooltip borders
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
d1dafbeaef
win32 theme: Fix combobox
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
16926308a8
win32 theme: Fix column headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
1f340882e2
win32 theme: Fix popup window decorations
...
Windows such as combobox's popup were using toplevel window's borders
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
5c6dda0459
gtkwin32theme: delete #if 0 code
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
a877d2c163
win32 theme: Fix scale widget
...
It was invisible before.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
7e3f9d6f71
win32 theme: No need to create a DC for GetThemePartSize
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
77ff3ada62
win32 theme: use TS_TRUE in GetThemePartSize
...
Several styles return a size of 0x0px when using TS_DRAW, as
we don't pass a RECT to draw into.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
ed980824c4
win32 theme: Fix scrollbars
...
The fix is only partial, when both scrollbars are visible their ends
overlap.
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
ea9b992351
Fix CSS warnings in win32 theme
...
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Jaime Velasco Juan
9a9969b337
Fix tiny fonts in win32 theme
...
broken since df08fc91... (css: always get default font size in pixels)
https://bugzilla.gnome.org/show_bug.cgi?id=773221
2016-10-26 16:25:49 +02:00
Sébastien Wilmet
83dc4c8b39
docs: fix copy/paste errors in the docs of GtkScrolledWindow
...
Trivial commit.
2016-10-26 15:20:25 +02:00
Matthias Clasen
c9ce0bd4ba
Drop x11-specific code from the GTK+ dnd code
...
We were using passive grabs to listen for some individual
keys. Nowadays, the managed dnd code in the x11 backend
does the same.
2016-10-26 05:13:52 -04:00
Chun-wei Fan
2ba64e0b62
MSVC builds: Support MSVC 2013 and later
...
We now need C99 features from the compiler which are only supported by
Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make
the baseline supported Visual Studio version be 2013. Update the build files
as a result.
2016-10-26 16:46:38 +08:00
Felix Riemann
0ca12fabf0
GtkShortcutType: Fix typos in developer documentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=773479
2016-10-25 20:10:41 +02:00
Alexander Larsson
70935f0952
Drop support for offscreen GdkWindows
...
These complicate a lot of GdkWindow internals to implement features
that not a lot of apps use, and will be better achieved using gsk.
So, we just drop it all.
2016-10-25 09:54:37 +02:00
Rico Tzschichholz
16ded8d47b
gdk: Remove deprecated {keyboard,pointer}_{grab,ungrab} API
2016-10-24 10:33:11 +02:00
Rico Tzschichholz
540cfd8580
textiter: Remove deprecated gtk_text_iter_begins_tag
2016-10-24 09:07:32 +02:00
Rico Tzschichholz
8abf05e194
gtk: Update path references from gtk-3.0 to gtk-4.0
2016-10-23 20:22:38 +02:00
Rico Tzschichholz
bdaa2bf531
gtkplacessidebar: Remove deprecated "show-other-locations" signal
2016-10-23 19:13:15 +02:00
Rico Tzschichholz
c15d61df1f
cellrenderertoggle: Fix compile warnings
2016-10-23 19:10:06 +02:00
Rico Tzschichholz
614079ffb0
accessible: Fix compile warnings
2016-10-23 19:09:27 +02:00
Rico Tzschichholz
94058583dc
treeview: Remove stray property enum-entry
2016-10-23 19:08:27 +02:00
Rico Tzschichholz
b5f9343ab4
treeview: Remove deprecated API
2016-10-23 18:23:59 +02:00
Rico Tzschichholz
db8369de1f
cellrenderertoggle: Remove deprecated indicator-size property
2016-10-23 18:23:59 +02:00
Rico Tzschichholz
502e63eddc
stylecontext: Remove deprecated API
2016-10-23 18:23:59 +02:00
Rico Tzschichholz
5c526c9926
gtkplacessidebar: Remove deprecated "show-connect-to-server"
2016-10-23 18:23:59 +02:00
Rico Tzschichholz
f3bc6619eb
Remove deprecated gtk_im_multicontext_append_menuitems
2016-10-23 18:23:59 +02:00