[Spice-devel] [PATCH spice-gtk 1/8] Regenerate map-file correctly

Marc-André Lureau marcandre.lureau at gmail.com
Wed Nov 23 07:43:05 PST 2011


We should use update-map-file instead of modifying it manually
---
 gtk/Makefile.am |    4 ++--
 gtk/map-file    |   22 +++++++++++-----------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 5dfa9f3..8a353dc 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -232,7 +232,6 @@ libspice_client_glib_2_0_la_SOURCES =	\
 	channel-usbredir.c		\
 	channel-usbredir-priv.h		\
 	smartcard-manager.c		\
-	smartcard-manager.h		\
 	smartcard-manager-priv.h	\
 	usb-device-manager.c		\
 	$(GUSB_SRCS)			\
@@ -295,6 +294,7 @@ libspice_client_glibinclude_HEADERS =	\
 	channel-smartcard.h		\
 	channel-usbredir.h		\
 	usb-device-manager.h		\
+	smartcard-manager.h		\
 	$(NULL)
 
 nodist_libspice_client_glibinclude_HEADERS =	\
@@ -577,7 +577,7 @@ PREFIX_ARGS = --strip-prefix=Spice
 endif
 
 INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(builddir) $(PREFIX_ARGS)
+INTROSPECTION_SCANNER_ARGS = --warn-all --accept-unprefixed --add-include-path=$(builddir) $(PREFIX_ARGS)
 INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir)
 
 if HAVE_INTROSPECTION
diff --git a/gtk/map-file b/gtk/map-file
index b6b84f1..f3a6e22 100644
--- a/gtk/map-file
+++ b/gtk/map-file
@@ -1,8 +1,8 @@
 SPICEGTK_1 {
 global:
+spice_audio_get;
 spice_audio_get_type;
 spice_audio_new;
-spice_audio_get;
 spice_channel_connect;
 spice_channel_destroy;
 spice_channel_disconnect;
@@ -34,6 +34,10 @@ spice_grab_sequence_free;
 spice_grab_sequence_get_type;
 spice_grab_sequence_new;
 spice_grab_sequence_new_from_string;
+spice_gtk_session_copy_to_guest;
+spice_gtk_session_get;
+spice_gtk_session_get_type;
+spice_gtk_session_paste_from_guest;
 spice_inputs_button_press;
 spice_inputs_button_release;
 spice_inputs_channel_get_type;
@@ -68,10 +72,6 @@ spice_session_migration_get_type;
 spice_session_new;
 spice_session_open_fd;
 spice_session_verify_get_type;
-spice_gtk_session_get;
-spice_gtk_session_get_type;
-spice_gtk_session_copy_to_guest;
-spice_gtk_session_paste_from_guest;
 spice_set_session_option;
 spice_smartcard_channel_get_type;
 spice_smartcard_manager_get;
@@ -80,16 +80,16 @@ spice_smartcard_manager_insert_card;
 spice_smartcard_manager_remove_card;
 spice_smartcard_reader_get_type;
 spice_smartcard_reader_is_software;
-spice_usbredir_channel_get_type;
-spice_usb_device_get_type;
 spice_usb_device_get_description;
-spice_usb_device_manager_get_type;
-spice_usb_device_manager_get;
-spice_usb_device_manager_get_devices;
-spice_usb_device_manager_is_device_connected;
+spice_usb_device_get_type;
 spice_usb_device_manager_connect_device_async;
 spice_usb_device_manager_connect_device_finish;
 spice_usb_device_manager_disconnect_device;
+spice_usb_device_manager_get;
+spice_usb_device_manager_get_devices;
+spice_usb_device_manager_get_type;
+spice_usb_device_manager_is_device_connected;
+spice_usbredir_channel_get_type;
 spice_util_get_debug;
 spice_util_get_version_string;
 spice_util_set_debug;
-- 
1.7.7



More information about the Spice-devel mailing list