--- libnotify-0.4.5.orig/libnotify/notify.c
+++ libnotify-0.4.5/libnotify/notify.c
@@ -46,6 +46,7 @@
 {
 	GError *error = NULL;
 	DBusGConnection *bus = NULL;
+	char **caps = NULL;
 
 	g_return_val_if_fail(app_name != NULL, FALSE);
 	g_return_val_if_fail(*app_name != '\0', FALSE);
@@ -91,6 +92,16 @@
 
 	_initted = TRUE;
 
+	if (dbus_g_proxy_call(_proxy, "GetCapabilities", NULL,
+						   G_TYPE_INVALID,
+						   G_TYPE_STRV, &caps, G_TYPE_INVALID))
+	{
+		g_strfreev(caps);
+	} else {
+		notify_uninit();
+		return FALSE;
+	}
+
 	return TRUE;
 }
 
