aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-01-23 08:29:34 +0000
committerTarmac <Unknown>2013-01-23 08:29:34 +0000
commitc60de308e981a67aa8627a772fb12f9088ab8a30 (patch)
tree09b8e9717eece8f36cab89d77cd10bce2295ec14 /src
parent6bb7a699e9505e370a4b5481824feb736a0af6c9 (diff)
parent452605811f41f580edae53e80c3a6881b0bd5996 (diff)
downloadayatana-indicator-messages-c60de308e981a67aa8627a772fb12f9088ab8a30.tar.gz
ayatana-indicator-messages-c60de308e981a67aa8627a772fb12f9088ab8a30.tar.bz2
ayatana-indicator-messages-c60de308e981a67aa8627a772fb12f9088ab8a30.zip
remove g_type_init() calls, bump glib requirement to 2.35.4. Fixes: https://bugs.launchpad.net/bugs/1103087.
Approved by Lars Uebernickel, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r--src/messages-service.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index b36a0a2..48c830e 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -619,11 +619,8 @@ got_bus (GObject *object,
int
main (int argc, char ** argv)
{
- GMainLoop * mainloop = NULL;
- IndicatorService * service = NULL;
-
- /* Glib init */
- g_type_init();
+ GMainLoop * mainloop;
+ IndicatorService * service;
mainloop = g_main_loop_new (NULL, FALSE);