[gnome-panel] libpanel-applet-private: don't load out-of-process applets
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] libpanel-applet-private: don't load out-of-process applets
- Date: Wed, 21 Sep 2016 15:04:52 +0000 (UTC)
commit c11bf065005822dfa02c18f5aa11ecaff0d4ebda
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Sep 21 16:09:10 2016 +0300
libpanel-applet-private: don't load out-of-process applets
.../panel-applets-manager-dbus.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/libpanel-applet-private/panel-applets-manager-dbus.c
b/gnome-panel/libpanel-applet-private/panel-applets-manager-dbus.c
index 93f1cb4..e691aed 100644
--- a/gnome-panel/libpanel-applet-private/panel-applets-manager-dbus.c
+++ b/gnome-panel/libpanel-applet-private/panel-applets-manager-dbus.c
@@ -161,6 +161,11 @@ panel_applets_manager_get_applet_factory_info_from_file (const gchar *filename)
return NULL;
}
+ } else {
+ panel_applet_factory_info_free (info);
+ g_key_file_free (applet_file);
+
+ return NULL;
}
info->has_old_ids = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]