[retro-gtk/wip/aplazas/0.13: 14/14] Tests...
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/wip/aplazas/0.13: 14/14] Tests...
- Date: Wed, 6 Sep 2017 07:03:28 +0000 (UTC)
commit 5c91f047150ca2bf4f356ffc378fd0441292c43d
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Sep 6 09:01:39 2017 +0200
Tests...
retro-gtk/Makefile.am | 6 ++++--
retro-gtk/retro-core-view.c | 9 ++++++++-
retro-gtk/video/retro-video-converter.c | 2 +-
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/retro-gtk/Makefile.am b/retro-gtk/Makefile.am
index 2032ead..e99df21 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -117,7 +117,9 @@ retro_gtkinclude_HEADERS = \
retro-joypad-id.h \
retro-lightgun-id.h \
retro-mouse-id.h \
+ retro-pixel-format.h \
retro-pointer-id.h \
+ retro-video-filter.h \
$(NULL)
# Add unstable API guard
@@ -139,7 +141,7 @@ gir_DATA = $(INTROSPECTION_GIRS)
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-introspection_sources = $(retro_gtkinclude_HEADERS)
+introspection_sources = retro-core-view.c $(retro_gtkinclude_HEADERS) $(libretro_gtk_la_SOURCES)
BUILT_SOURCES += libretro-gtk.la Retro-0.12.gir
@@ -149,7 +151,7 @@ Retro_0_12_gir_SCANNERFLAGS = \
--c-include=retro-gtk.h \
--c-include=retro-analog-id.h \
--c-include=retro-analog-index.h \
- --c-include=retro-core-view.h \
+ --c-include=retro-core-view.h \
--c-include=retro-device-type.h \
--c-include=retro-input-descriptor.h \
--c-include=retro-joypad-id.h \
diff --git a/retro-gtk/retro-core-view.c b/retro-gtk/retro-core-view.c
index 73a7f14..9509685 100644
--- a/retro-gtk/retro-core-view.c
+++ b/retro-gtk/retro-core-view.c
@@ -1,8 +1,9 @@
// This file is part of retro-gtk. License: GPL-3.0+.
+#include "retro-core-view.h"
+
#include <linux/input-event-codes.h>
#include "retro-gtk-internal.h"
-#include "retro-core-view.h"
#include "retro-core-view-input-device.h"
#include "retro-joypad-id.h"
#include "retro-mouse-id.h"
@@ -27,6 +28,12 @@ static guint16 DEFAULT_KEY_JOYPAD_BUTTON_MAPPING[RETRO_JOYPAD_ID_COUNT] = {
KEY_3,
};
+/**
+ * RetroCoreView:
+ * @bar: some #gboolean
+ *
+ * This is the best widget, ever.
+ */
struct _RetroCoreView
{
GtkEventBox parent_instance;
diff --git a/retro-gtk/video/retro-video-converter.c b/retro-gtk/video/retro-video-converter.c
index 4e675f7..f9de9cc 100644
--- a/retro-gtk/video/retro-video-converter.c
+++ b/retro-gtk/video/retro-video-converter.c
@@ -98,7 +98,7 @@ get_interface_for_pixel_format (gint pixel_format,
}
}
-/**
+/*
* The destination buffer must be at least `height * width * sizeof (rgba8888)`
* bytes long.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]