summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-11 08:40:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-11 08:40:45 (GMT)
commit45c220eb6c7cb1076788307ace4b6f3df2e5e941 (patch)
treeb018cf25fc23190ec430afec0a612d29cb142757 /src/core
parentd19bfec27f4ed528c5ca569dcbb6621185db0c48 (diff)
Created a new widget to handle tiled panels.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/logs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/logs.c b/src/core/logs.c
index ae69758..417039b 100644
--- a/src/core/logs.c
+++ b/src/core/logs.c
@@ -106,7 +106,10 @@ void log_simple_message(LogMessageType type, const char *msg)
item = get_panel_item_by_name(PANEL_LOG_ID);
if (item != NULL)
+ {
g_log_panel_add_message(G_LOG_PANEL(item), type, msg);
+ g_object_unref(G_OBJECT(item));
+ }
else
print_message_without_gui(type, msg);