[retro-gtk] log: Remove unused types
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] log: Remove unused types
- Date: Tue, 16 May 2017 09:00:58 +0000 (UTC)
commit 6894f021a1c51cd085e7e0e2a2abe056ace72c01
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue May 16 06:57:49 2017 +0200
log: Remove unused types
Remove LogLevel, Log and FileStreamLog.
This helps making the library simpler and cleaner.
https://bugzilla.gnome.org/show_bug.cgi?id=782504
retro-gtk/Makefile.am | 3 --
retro-gtk/log/file-stream-log.vala | 55 ------------------------------------
retro-gtk/log/log.vala | 30 -------------------
retro-gtk/retro-environment.c | 7 ++++
4 files changed, 7 insertions(+), 88 deletions(-)
---
diff --git a/retro-gtk/Makefile.am b/retro-gtk/Makefile.am
index 6002760..e056b05 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -41,9 +41,6 @@ libretro_gtk_la_SOURCES = \
input/mouse.vala \
input/virtual-gamepad.vala \
\
- log/file-stream-log.vala \
- log/log.vala \
- \
loop/main-loop.vala \
\
variable/options.vala \
diff --git a/retro-gtk/retro-environment.c b/retro-gtk/retro-environment.c
index b142338..9a5be71 100644
--- a/retro-gtk/retro-environment.c
+++ b/retro-gtk/retro-environment.c
@@ -6,6 +6,13 @@
void retro_core_set_system_av_info (RetroCore *self,
RetroSystemAvInfo *system_av_info);
+enum RetroLogLevel {
+ RETRO_LOG_LEVEL_DEBUG = 0,
+ RETRO_LOG_LEVEL_INFO,
+ RETRO_LOG_LEVEL_WARN,
+ RETRO_LOG_LEVEL_ERROR,
+};
+
typedef struct {
gpointer log;
} RetroLogCallback;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]