Author: danw Date: Sat Feb 9 05:17:25 2008 New Revision: 1081 URL: http://svn.gnome.org/viewvc/libsoup?rev=1081&view=rev
Log: * libsoup/soup-misc.h: remove prototype for soup_signal_connect_once, which is only used by soup-connection now, and will go away once that code is rewritten. * libsoup/soup-connection.c: prototype it here now (the definition is still in soup-misc.c) Modified: trunk/ChangeLog trunk/libsoup/soup-connection.c trunk/libsoup/soup-misc.c trunk/libsoup/soup-misc.h Modified: trunk/libsoup/soup-connection.c ============================================================================== --- trunk/libsoup/soup-connection.c (original) +++ trunk/libsoup/soup-connection.c Sat Feb 9 05:17:25 2008 @@ -457,6 +457,10 @@ proxified_status (priv, status)); } +/* from soup-misc.c... will eventually go away */ +guint soup_signal_connect_once (gpointer instance, const char *detailed_signal, + GCallback c_handler, gpointer data); + /** * soup_connection_connect_async: * @conn: the connection Modified: trunk/libsoup/soup-misc.c ============================================================================== --- trunk/libsoup/soup-misc.c (original) +++ trunk/libsoup/soup-misc.c Sat Feb 9 05:17:25 2008 @@ -84,19 +84,12 @@ g_slice_free (SoupSignalOnceData, ssod); } -/** - * soup_signal_connect_once: - * @instance: an object - * @detailed_signal: "signal-name" or "signal-name::detail" to connect to - * @c_handler: the #GCallback to connect - * @data: data to pass to @c_handler calls - * - * Connects a #GCallback function to a signal as with - * g_signal_connect(), but automatically removes the signal handler - * after its first invocation. - * - * Return value: the signal handler id - **/ +/* No longer prototyped in soup-misc.h, because it's only used by + * soup-connection.c, and will be going away once that usage is removed. + */ +guint soup_signal_connect_once (gpointer instance, const char *detailed_signal, + GCallback c_handler, gpointer data); + guint soup_signal_connect_once (gpointer instance, const char *detailed_signal, GCallback c_handler, gpointer data) Modified: trunk/libsoup/soup-misc.h ============================================================================== --- trunk/libsoup/soup-misc.h (original) +++ trunk/libsoup/soup-misc.h Sat Feb 9 05:17:25 2008 @@ -26,15 +26,12 @@ /* Misc utils */ -guint soup_signal_connect_once (gpointer instance, - const char *detailed_signal, - GCallback c_handler, - gpointer data); - guint soup_str_case_hash (gconstpointer key); gboolean soup_str_case_equal (gconstpointer v1, gconstpointer v2); +/* SSL stuff */ + extern const gboolean soup_ssl_supported; #define SOUP_SSL_ERROR soup_ssl_error_quark() _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.