[Spice-devel] [PATCH spice-gtk 2/8] Export spice_g_signal_connect_object
Hans de Goede
hdegoede at redhat.com
Wed Nov 23 06:11:14 PST 2011
Ack.
On 11/23/2011 01:23 PM, Marc-André Lureau wrote:
> The helper needs to be accessible from spice-client-gtk too.
> ---
> gtk/map-file | 1 +
> gtk/spice-util-priv.h | 5 -----
> gtk/spice-util.c | 1 -
> gtk/spice-util.h | 5 +++++
> 4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/gtk/map-file b/gtk/map-file
> index da5f4b9..455e1b5 100644
> --- a/gtk/map-file
> +++ b/gtk/map-file
> @@ -34,6 +34,7 @@ spice_grab_sequence_free;
> spice_grab_sequence_get_type;
> spice_grab_sequence_new;
> spice_grab_sequence_new_from_string;
> +spice_g_signal_connect_object;
> spice_gtk_session_copy_to_guest;
> spice_gtk_session_get;
> spice_gtk_session_get_type;
> diff --git a/gtk/spice-util-priv.h b/gtk/spice-util-priv.h
> index 1f9778c..90b437c 100644
> --- a/gtk/spice-util-priv.h
> +++ b/gtk/spice-util-priv.h
> @@ -23,11 +23,6 @@
> G_BEGIN_DECLS
>
> gboolean spice_strv_contains(const GStrv strv, const gchar *str);
> -gulong spice_g_signal_connect_object(gpointer instance,
> - const gchar *detailed_signal,
> - GCallback c_handler,
> - gpointer gobject,
> - GConnectFlags connect_flags);
>
> G_END_DECLS
>
> diff --git a/gtk/spice-util.c b/gtk/spice-util.c
> index fb5767b..b634bf3 100644
> --- a/gtk/spice-util.c
> +++ b/gtk/spice-util.c
> @@ -148,7 +148,6 @@ closure_invalidated_cb (gpointer ctx_,
> }
>
> /* Copied from tp_g_signal_connect_object. See documentation. */
> -G_GNUC_INTERNAL
> gulong spice_g_signal_connect_object (gpointer instance,
> const gchar *detailed_signal,
> GCallback c_handler,
> diff --git a/gtk/spice-util.h b/gtk/spice-util.h
> index a052ca8..5029bc1 100644
> --- a/gtk/spice-util.h
> +++ b/gtk/spice-util.h
> @@ -25,6 +25,11 @@ G_BEGIN_DECLS
> void spice_util_set_debug(gboolean enabled);
> gboolean spice_util_get_debug(void);
> const gchar *spice_util_get_version_string(void);
> +gulong spice_g_signal_connect_object(gpointer instance,
> + const gchar *detailed_signal,
> + GCallback c_handler,
> + gpointer gobject,
> + GConnectFlags connect_flags);
>
> #define SPICE_DEBUG(fmt, ...) \
> do { \
More information about the Spice-devel
mailing list