[gnome-autoar] Use G_TYPE_ERROR instead of G_TYPE_POINTER in signal handler arguments
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-autoar] Use G_TYPE_ERROR instead of G_TYPE_POINTER in signal handler arguments
- Date: Fri, 13 Sep 2013 03:47:59 +0000 (UTC)
commit f25a45094e4fdfb351b39b78671afbb959ae31af
Author: Ting-Wei Lan <lantw44 gmail com>
Date: Fri Sep 13 11:47:12 2013 +0800
Use G_TYPE_ERROR instead of G_TYPE_POINTER in signal handler arguments
gnome-autoar/autoar-create.c | 4 ++--
gnome-autoar/autoar-extract.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-autoar/autoar-create.c b/gnome-autoar/autoar-create.c
index 9ec04c3..4606c74 100644
--- a/gnome-autoar/autoar-create.c
+++ b/gnome-autoar/autoar-create.c
@@ -1007,10 +1007,10 @@ autoar_create_class_init (AutoarCreateClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (AutoarCreateClass, error),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
+ g_cclosure_marshal_generic,
G_TYPE_NONE,
1,
- G_TYPE_POINTER);
+ G_TYPE_ERROR);
}
static void
diff --git a/gnome-autoar/autoar-extract.c b/gnome-autoar/autoar-extract.c
index d398d34..7978cfd 100644
--- a/gnome-autoar/autoar-extract.c
+++ b/gnome-autoar/autoar-extract.c
@@ -1252,10 +1252,10 @@ autoar_extract_class_init (AutoarExtractClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (AutoarExtractClass, error),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
+ g_cclosure_marshal_generic,
G_TYPE_NONE,
1,
- G_TYPE_POINTER);
+ G_TYPE_ERROR);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]