Commit c2fd314c authored by Sebastian Ramacher's avatar Sebastian Ramacher

CS

parent edc5a8bd
......@@ -17,7 +17,8 @@ girara_input_history_io_append(GiraraInputHistoryIO* io, const char* input)
GIRARA_INPUT_HISTORY_IO_GET_INTERFACE(io)->append(io, input);
}
girara_list_t* girara_input_history_io_read(GiraraInputHistoryIO* io)
girara_list_t*
girara_input_history_io_read(GiraraInputHistoryIO* io)
{
g_return_val_if_fail(GIRARA_IS_INPUT_HISTORY_IO(io) == true, NULL);
return GIRARA_INPUT_HISTORY_IO_GET_INTERFACE(io)->read(io);
......
......@@ -680,7 +680,6 @@ girara_libnotify(girara_session_t* session, const char *summary,
}
#ifdef WITH_LIBNOTIFY
const bool was_initialized = notify_is_initted();
if (was_initialized == false) {
......@@ -720,11 +719,8 @@ girara_libnotify(girara_session_t* session, const char *summary,
if (was_initialized == false) {
notify_uninit();
}
#else
girara_notify(session, GIRARA_WARNING, "Girara was compiled without libnotify support.");
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment