| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
It was deprecated in GLib 2.36, and we already have a hard dependency
on that version.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy
with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref.
I used this command to generate this patch:
for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done
See Danielle's blog for explanation of possible bug _free can do:
http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
|
| |
|
| |
|
|
|
|
|
| |
Now that we're using a different representation of int sets, checking
for empty intsets is very, very cheap.
|
|
|
|
|
|
|
|
|
|
| |
When we stop refcounting handles, it will become more important that
clients and services both cope gracefully with sparse sets, since the
average numeric value of a handle will increase.
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Conflicts:
tests/intset.c
|
| |
|
| |
|
|
As well as making tab completion work better, this means .gitignore can
be much simpler.
|