summaryrefslogtreecommitdiff
path: root/src/core/logs.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-12-05 00:39:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-12-05 00:39:57 (GMT)
commit1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (patch)
treec3581ceb7f8586f2f6822de563927a1246dd33a5 /src/core/logs.c
parent6122bb7f34b178d4c07285adae16afcc55294b1f (diff)
Rewritten the whole API dealing with panels.
Diffstat (limited to 'src/core/logs.c')
-rw-r--r--src/core/logs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/logs.c b/src/core/logs.c
index a723cf7..2769bd5 100644
--- a/src/core/logs.c
+++ b/src/core/logs.c
@@ -29,7 +29,7 @@
#include "../common/extstr.h"
-#include "../gui/core/panels.h"
+#include "../gui/core/items.h"
#include "../gui/panels/log.h"
@@ -107,11 +107,11 @@ void set_log_verbosity(LogMessageType level)
void log_simple_message(LogMessageType type, const char *msg)
{
- GPanelItem *item; /* Eventuel affichage présent */
+ GEditorItem *item; /* Eventuel affichage présent */
if (type >= _verbosity)
{
- item = get_panel_item_by_name(PANEL_LOG_ID);
+ item = find_editor_item_by_type(G_TYPE_LOG_PANEL);
if (item != NULL)
{