Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-06-28 13:09:53 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-06-28 13:09:53 (GMT)
commit661c24bf2d3898825b081434c74807e6a7c4822b (patch)
treee3c4079b2743237ef214e4422fd3b71fd3a53cee /shell
parent065ca13c80f87bdf729f906d0c6c47b0b55a4fb1 (diff)
[shell] Free dbus introspection data on application shutdown
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-application.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 30f2313..5a9bb8a 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -49,9 +49,6 @@
#include "ev-media-player-keys.h"
#endif /* ENABLE_DBUS */
-#ifdef ENABLE_DBUS
-#endif
-
struct _EvApplication {
GObject base_instance;
@@ -936,6 +933,10 @@ ev_application_shutdown (EvApplication *application)
g_object_unref (application->connection);
application->connection = NULL;
}
+ if (introspection_data) {
+ g_dbus_node_info_ref (introspection_data);
+ introspection_data = NULL;
+ }
#endif /* ENABLE_DBUS */
g_free (application->dot_dir);