[gnome-builder] libide/gui: add debug information about loading resources
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/gui: add debug information about loading resources
- Date: Wed, 10 Aug 2022 20:53:50 +0000 (UTC)
commit 4c3430d859f1272802e823e4f620a0aca2ab195f
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 10 13:38:07 2022 -0700
libide/gui: add debug information about loading resources
src/libide/gui/ide-application.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index 90e8f277f..17de10964 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -397,6 +397,7 @@ _ide_application_add_resources (IdeApplication *self,
if (bytes != NULL)
{
GtkCssProvider *provider = get_css_provider (self, resource_path);
+ g_debug ("Loading CSS from resource path %s\n", css_path);
gtk_css_provider_load_from_resource (provider, css_path);
}
}
@@ -407,6 +408,7 @@ _ide_application_add_resources (IdeApplication *self,
if (g_file_test (css_path, G_FILE_TEST_IS_REGULAR))
{
GtkCssProvider *provider = get_css_provider (self, resource_path);
+ g_debug ("Loading CSS from file path %s\n", css_path);
gtk_css_provider_load_from_path (provider, css_path);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]