[gtranslator] Use the correct types for the signals
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Use the correct types for the signals
- Date: Thu, 29 Mar 2012 16:01:12 +0000 (UTC)
commit e040487d0f4aeed316a35f742dd6aba3364a590a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Mar 29 18:03:04 2012 +0200
Use the correct types for the signals
src/gtr-tab.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index 158579f..7070dc4 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -1036,8 +1036,8 @@ gtr_tab_class_init (GtrTabClass * klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtrTabClass, showed_message),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1, G_TYPE_POINTER);
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1, GTR_TYPE_MSG);
signals[MESSAGE_CHANGED] =
g_signal_new ("message-changed",
@@ -1045,17 +1045,17 @@ gtr_tab_class_init (GtrTabClass * klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtrTabClass, message_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1, G_TYPE_POINTER);
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1, GTR_TYPE_MSG);
signals[MESSAGE_EDITION_FINISHED] =
g_signal_new ("message-edition-finished",
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GtrTabClass,
- message_edition_finished), NULL, NULL,
- g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1,
- G_TYPE_POINTER);
+ G_STRUCT_OFFSET (GtrTabClass, message_edition_finished),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1, GTR_TYPE_MSG);
/* Properties */
g_object_class_install_property (object_class,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]