widget-factory: Use a popover gear menu
all: Name more idles and timeouts

Following up from 438cd857c49242244dda2923ac447f36464b9e72,
name more timeouts and idles.

The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).

https://bugzilla.gnome.org/show_bug.cgi?id=726870
Allow gtk_radio_menu_item_set_group() to be called twice without crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=726859
treemodelfilter: Fix using wrong path on row-deleted

A "typo" led to using a wrong GtkTreePath when converting the path of the
virtual root to check the ancestors, which would lead to either no checks being
performed, or maybe segfaulting when using an invalid path as result.

https://bugzilla.gnome.org/show_bug.cgi?id=722058
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
treeview: Lower the duration of validation iterations

GTK_TREE_VIEW_TIME_MS_PER_IDLE is currently 30 milliseconds, meaning
that validate_rows will validate rows up until all the validations have
taken over 30 msecs. So it's likely to block redrawing via the clock
frame update mechanism, as that tops at 16.66 milliseconds per frame
(1/60th of a second).

Stop validating rows if we've spent more than 3/5 of our allotted budget
for inter-frame processing, so as to avoid blocking.

In the future, we would probably want to calculate how long we would
have left until the next frame, especially if higher priority idles
and timeouts have already consumed a portion of that allotted time.

https://bugzilla.gnome.org/show_bug.cgi?id=726871
gdkproperty-win32.c: Fix gtk-font-name handling

...on Windows 8+ and when the system setting for non-Unicode programs do
not match the language version of Windows by falling back to using Pango.

This ensures that the correct font is used during these scenarios, so that
we minimize the risk of seeing garbled characters for texts that the system
code page does not support due to system peculiarties.  There might be a
way to support gtk-font-name handling using the native Windows APIs
directly on Windows 8+, but that needs to be investigated.

https://bugzilla.gnome.org/show_bug.cgi?id=726298
clipboard: Add link to GdkDisplay in doc

https://bugzilla.gnome.org/show_bug.cgi?id=712752
Docs: remove some leftover markup
Trivial typo fix
docs: Another round of markup removal
flow box: Avoid excessive signals

We were emitting the a11y ::selection-changed signal much more
often than ::selected-children-changed. Thats not necessary.
stackswitcher: do not leak buttons hash table
application-dbus: free strings during finalization
textbufferserialize: do not leak list of tags
Fix W32 theme for spinbuttons

It seems that the dec-button no longer has a "bottom" selector-thingy to
select for. Use "last-child" instead.
Use .vertical to style vertical instance differently, as last-child/first-child
meaning is inverted there.
Increase (towards 0) margins a bit, to avoid clipping the pre-light rectangle.
Use dir(rtl) selector to style horizontal instance differently for RTL locales,
where first-child is "inc".

https://bugzilla.gnome.org/show_bug.cgi?id=727022
W32: Fix double-arrowed combobox button

The arrow is part of the background image drawn by the theme, don't draw
GTK's own arrow. This also applies to non-entry comboboxes.

On XP the arrow-and-nothing-else part does not exist (W32 XP theme draws a
white rectangle) and has to be subtituted for a simple dropdown button even
for non-entry comboboxes.

https://bugzilla.gnome.org/show_bug.cgi?id=727035
W32: Fix combobox dropdown list color

https://bugzilla.gnome.org/show_bug.cgi?id=727036
W32: Fix menu item size and submenu arrow size

https://bugzilla.gnome.org/show_bug.cgi?id=727037
W32: Make combobox-entry thinner by removing unneeded padding

https://bugzilla.gnome.org/show_bug.cgi?id=727075
W32: Add GtkPopover theming

https://bugzilla.gnome.org/show_bug.cgi?id=727078