diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-22 10:35:03 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-22 10:54:59 +0200 |
commit | 5c05a24ba14b1942309a703866aac76772f5f201 (patch) | |
tree | cce2082525dcd620c973414dd58bf9608a0f49a4 /client/display_channel.cpp | |
parent | 5341b632e2b1d2527303cce3f69a8146a8d48489 (diff) | |
download | spice-5c05a24ba14b1942309a703866aac76772f5f201.tar.gz spice-5c05a24ba14b1942309a703866aac76772f5f201.tar.xz spice-5c05a24ba14b1942309a703866aac76772f5f201.zip |
Convert client to use indirect calls for message marshalling
This is required to support multiple versions
Diffstat (limited to 'client/display_channel.cpp')
-rw-r--r-- | client/display_channel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp index 5286aed1..67c3083e 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.cpp @@ -42,7 +42,6 @@ #include "inputs_channel.h" #include "cursor_channel.h" #include "mjpeg_decoder.h" -#include "generated_marshallers.h" class CreatePrimarySurfaceEvent: public SyncEvent { public: @@ -1029,7 +1028,7 @@ void DisplayChannel::on_connect() init.pixmap_cache_size = get_client().get_pixmap_cache_size(); init.glz_dictionary_id = 1; init.glz_dictionary_window_size = get_client().get_glz_window_size(); - spice_marshall_msgc_display_init(message->marshaller(), &init); + _marshallers->msgc_display_init(message->marshaller(), &init); post_message(message); AutoRef<AttachChannelsEvent> attach_channels(new AttachChannelsEvent(*this)); get_client().push_event(*attach_channels); |