[retro-gtk/wip/aplazas/0.12: 2/2] test
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/wip/aplazas/0.12: 2/2] test
- Date: Sun, 10 Sep 2017 06:04:17 +0000 (UTC)
commit 7c2e723ea13dbbd7a8399862eee11e3964d0c30a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Sep 10 08:03:23 2017 +0200
test
retro-gtk/retro-game-info.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/retro-game-info.c b/retro-gtk/retro-game-info.c
index da14158..747a311 100644
--- a/retro-gtk/retro-game-info.c
+++ b/retro-gtk/retro-game-info.c
@@ -15,6 +15,8 @@ retro_game_info_new (const gchar *file_name)
self->path = g_strdup (file_name);
self->data = g_new0 (guint8, 0);
+ g_message ("meta: %p", self->meta);
+
return self;
}
@@ -30,6 +32,8 @@ retro_game_info_new_with_data (const gchar *file_name,
self->path = g_strdup (file_name);
g_file_get_contents (file_name, (gchar **) &self->data, &self->size, error);
+ g_message ("meta: %p", self->meta);
+
return self;
}
@@ -46,6 +50,7 @@ retro_game_info_copy (RetroGameInfo *self)
copy->data = g_memdup (self, self->size);
copy->size = self->size;
copy->meta = g_strdup (self->meta);
+ g_message ("meta: %p", copy->meta);
return copy;
}
@@ -55,8 +60,11 @@ retro_game_info_free (RetroGameInfo *self)
{
g_return_if_fail (self);
+ g_message ("path: %p", self->path);
g_free (self->path);
+ g_message ("data: %p", self->data);
g_free (self->data);
+ g_message ("meta: %p", self->meta);
g_free (self->meta);
g_slice_free (RetroGameInfo, self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]