diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-12 02:00:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-12 02:43:19 +0800 |
commit | de978d42317423ceb3041d773913473d564a0ec4 (patch) | |
tree | 93caed2beebd7779ae5f6d35669d65cea0146469 /e-util/e-alert.c | |
parent | adc0ad91c4e187d814d41edd69a6c53c6405f235 (diff) | |
download | gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar.gz gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar.bz2 gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar.lz gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar.xz gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.tar.zst gsoc2013-evolution-de978d42317423ceb3041d773913473d564a0ec4.zip |
Use g_hash_table_add() when using a hash table as a set.
g_hash_table_add(table, key) uses less memory than
g_hash_table_insert(table, key, GINT_TO_POINTER (1)).
Also use g_hash_table_contains() when testing for membership.
Diffstat (limited to 'e-util/e-alert.c')
0 files changed, 0 insertions, 0 deletions