[Spice-devel] [PATCH 2/4] gtk: channel-event emit an enum
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Oct 19 02:29:28 PDT 2011
This doesn't break ABI, as int and enum are compatible at glib level.
---
gtk/spice-channel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 3a17204..5bc244f 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -309,10 +309,10 @@ static void spice_channel_class_init(SpiceChannelClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET(SpiceChannelClass, channel_event),
NULL, NULL,
- g_cclosure_marshal_VOID__INT,
+ g_cclosure_marshal_VOID__ENUM,
G_TYPE_NONE,
1,
- G_TYPE_INT);
+ SPICE_TYPE_CHANNEL_EVENT);
/**
* SpiceChannel::open-fd:
--
1.7.6.2
More information about the Spice-devel
mailing list