summaryrefslogtreecommitdiff
path: root/gtk/gtk-a11y.h
diff options
context:
space:
mode:
authorChristian Hergert <christian@hergert.me>2016-04-26 19:30:30 -0700
committerMatthias Clasen <mclasen@redhat.com>2016-05-05 15:04:00 -0400
commitcdab14dc22d9ff0cef50413fd647cfdc071f3962 (patch)
tree02b7cb58fd42e847391e5432c34decf519950faf /gtk/gtk-a11y.h
parentab300e7de3571a06d1dc0853dffea519a621116a (diff)
downloadgtk+-cdab14dc22d9ff0cef50413fd647cfdc071f3962.tar.gz
pixelcache: reuse existing timeout source when possible
This avoids the g_source_remove(), g_source_destroy(), g_timer_source_new(), and g_source_set_name_by_id() in the common case. Instead, we reuse our previous source and update the ready time to our new deadline. We lose the coalescing with g_timeout_add_seconds(), but that is not going to help in the common case anyway (unless you have three hands and can scroll multiple pixelcached backed widgets at once). https://bugzilla.gnome.org/show_bug.cgi?id=765640
Diffstat (limited to 'gtk/gtk-a11y.h')
0 files changed, 0 insertions, 0 deletions