* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: David Zeuthen <davidz@redhat.com>
*/
__FILE__, \
__LINE__, \
G_STRFUNC, \
- "Signal `" signal_name "' does not " \
+ "Signal '" signal_name "' does not " \
"exist on object"); \
} \
if (_g_assert_signal_received_run (object, signal_name)) \
__FILE__, \
__LINE__, \
G_STRFUNC, \
- "Timed out waiting for signal `" \
+ "Timed out waiting for signal '" \
signal_name "'"); \
} \
} \
GCancellable *cancellable,
GError **error);
-
-#define _g_object_wait_for_single_ref(object) \
- do \
- { \
- if (!G_IS_OBJECT (object)) \
- { \
- g_assertion_message (G_LOG_DOMAIN, \
- __FILE__, \
- __LINE__, \
- G_STRFUNC, \
- "Not a GObject instance"); \
- } \
- if (_g_object_wait_for_single_ref_do (object)) \
- { \
- g_assertion_message (G_LOG_DOMAIN, \
- __FILE__, \
- __LINE__, \
- G_STRFUNC, \
- "Timed out waiting for single ref"); \
- } \
- } \
- while (FALSE)
-
-gboolean _g_object_wait_for_single_ref_do (gpointer object);
-
G_END_DECLS
#endif /* __TESTS_H__ */