[gnome-software/wip/mcrha/ci-test] no reload + no dbus-session
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mcrha/ci-test] no reload + no dbus-session
- Date: Wed, 16 Mar 2022 14:12:48 +0000 (UTC)
commit d55403952e5ce8aeb8d24ad6a6b431df6396cf81
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 16 15:12:31 2022 +0100
no reload + no dbus-session
.gitlab-ci/run-tests.sh | 2 +-
lib/gs-plugin.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 3b3052726..bf57b9cf4 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -17,7 +17,7 @@ esac
sudo mkdir -p /run/dbus
sudo mkdir -p /var
sudo ln -s /var/run /run
-sudo dbus-daemon --system --fork
+#sudo dbus-daemon --system --fork
#sudo /usr/lib/polkit-1/polkitd --no-debug &
#sudo /usr/libexec/fwupd/fwupd --verbose &
diff --git a/lib/gs-plugin.c b/lib/gs-plugin.c
index b34bbd8dc..a0623e2eb 100644
--- a/lib/gs-plugin.c
+++ b/lib/gs-plugin.c
@@ -938,9 +938,9 @@ gs_plugin_reload_cb (gpointer user_data)
void
gs_plugin_reload (GsPlugin *plugin)
{
- g_debug ("emitting ::reload in idle");
- g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, gs_plugin_reload_cb,
- weak_ref_new (plugin), (GDestroyNotify) weak_ref_free);
+ g_debug ("skip emitting ::reload in idle by plugin %s", G_OBJECT_TYPE_NAME (plugin));
+ /*g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, gs_plugin_reload_cb,
+ weak_ref_new (plugin), (GDestroyNotify) weak_ref_free);*/
}
typedef struct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]