ESourceRegistry: Use g_main_context_ref_thread_default().
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 11:33:40 +0000 (07:33 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 12:53:00 +0000 (08:53 -0400)
commitd5325a0c46120b9737f66a20abfb265135921246
tree3308c6a0483f88017ab657e12fd725e567a091b1
parent18861ce5d7496c7f1adc137fa0b568c68d1b76dc
ESourceRegistry: Use g_main_context_ref_thread_default().

Slightly more convenient than g_main_context_get_thread_default(), which
requires checking for NULL before referencing the main context ourselves.
libedataserver/e-source-registry.c